You need to sign in to do that
Don't have an account?

Error deploying to heroku
Hi,
I am following the instruction as mentioned in the below URL:
http://www2.developerforce.com/mobile/getting-started/html5/#angularjs-heroku
Finally, when I am trying to deploy to heroku using the following command
git push heroku master
I am getting the following error
Permission denied (publickey). fatal: The remote end hung up unexpectedly
I have already added the client_id generated after creating connected apps as mentioned.
Any help will be appreciated.
For everybody else, facing the same issue, I did the following.
ssh-keygen -t rsa
heroku keys:add
then did
git push heroku master
worked. Thanks all of you, you helped me resolve my issue.
All Answers
This usually happens if you haven't uploaded your ssh public key to heroku. https://devcenter.heroku.com/articles/keys
Add your Heroku instance key using the command
heroku keys:add ~/.ssh/id_rsa.pub
That should fix it. This is a generic Heroku issue captured on this link - http://stackoverflow.com/questions/4269922/permission-denied-publickey-when-deploying-heroku-code-fatal-the-remote-end
Hope this helps.
For everybody else, facing the same issue, I did the following.
ssh-keygen -t rsa
heroku keys:add
then did
git push heroku master
worked. Thanks all of you, you helped me resolve my issue.