I am new to Rails, and I was trying to deploy a very simple app to Heroku. This is the second app that I deploy, and the first one I was able to do it just fine. However I am having some issues with this one. Whenever I "git push heroku master", I get this error:
! Your key with fingerprint xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx is not authorized to >access my_heroku_app.
fatal: The remote end hung up unexpectedly
I have tried to manage my keys after logging in heroku. If I type in my console "heroku keys", then I get:
No keys for myemailaddress.
However, If I run the comand "heroku keys:add" I get
Found existing public key: /Users/michele/.ssh/id_rsa.pub
Uploading ssh public key /Users/michele/.ssh/id_rsa.pub
! Fingerprint already exists. Please use one ssh key per Heroku account
Please help me! This is soo frustating, I have no idea what's wrong!
Thank you
Best Answer
I had the same problem, I followed this post and others of the same kind without success :-((
Finally, I found the solution: I had to add my new rsa identity in my machine!
So, first of all I created a new rsa key:
then added it to my machine
and, finally, to Heroku
After that,
worked like a charm!
Hope this helps.