I am having trouble pushing code to Heroku. I have an account but I've forgotten the password. I created a new account and tried to push with it but now it shows me this error:
Your account someoneelse@gmail.com does not have access to
! SSH Key Fingerprint:
How can I log in with the new account? I'd like to remove this error message with a fresh account. I have uploaded my latest ssh key to heroku. I have tried everything to push code on heroku (basic setup), but I can't get past this error.
Any application in your account has two ssh key and you should remove one which is not in your "~/.ssh/" folder or follow these steps.
Here's the solution:
Go to www.heroku.com and login with the account that raises the error.
Go to the applications settings. (e.g. for an application named "rails-demo", go to rails-demo settings and check whether there are two ssh keys)
Remove the key which is no longer in your system
Or you can remove them both and then generate new one with these commands.
-> ssh-keygen -t rsa
-> heroku keys:add
Upload the new one and then in your console type
-> heroku log-in
Log in with your account and then push it to you app.
It's solved now.