Deploy an app to heroku fail because of key not authorized
When I am executing :
I got the following:
- git Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
- How to use special SSH key for BitBucket and GitHub to push/pull?
- Git clone using ssh - can't find repository
- gitosis asking for password
- Obtain the latest refspec on a Gerrit Change
- Pushing over SSH to a GIT repository with Xcode 4.6
ubuntu@ip-172-31-0-92:~/node-js-sample$ git push heroku master ! Your key with fingerprint XXXXXXXXXX is not authorized to access radiant-ocean-5431.
I have only one ssh-key registered on my heroku account, and only one app.
ubuntu@ip-172-31-37-201:~/node-js-sample$ heroku apps === My Apps radiant-ocean-5431 thawing-bayou-7424
This is what
ssh-add -l outputs:
2048 AAAAAAAAAAA /Users/mylocaluser/.ssh/id_rsa (RSA) 2048 BBBBBBBBBBB /home/ubuntu/.ssh/id_rsa_heroku (RSA)
git remote show heroku fails too
I tried to delete and create again my keys but without any success.
I have also deleted manually most of my keys on herokus, without any success.
I have also followed this:
I have an alias for my user when I am using ssh, could it be the problem?
2 Solutions collect form web for “Deploy an app to heroku fail because of key not authorized”
Need to manually delete openssl.cnf… find the file on your machine and rename it to something else….
Heroku client internal error. Unable to verify certificate
ssh-add -l was not listing my public key on the remote machine, because it was not existing.
ssh-keygen fixed the issue.