Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

heroku - rails - Permission denied (publickey)

heroku create
Creating floating-planet-1824......................... done, stack is bamboo-mri-1.9.2
http://floating-planet-1824.heroku.com/ | [email protected]:floating-planet-1824.git

git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.156' to the list of known hosts.
Agent admitted failure to sign using the key.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

I generated ssh keys ok.

Rebooting didn't help.

like image 390
Michael Durrant Avatar asked May 20 '12 03:05

Michael Durrant


1 Answers

It turned out that

heroku keys:add ~/.ssh/id_rsa.pub

worked.

like image 111
Michael Durrant Avatar answered Oct 16 '22 15:10

Michael Durrant