I'm trying to push to heroku but am getting a permission denied error. I've followed the articles from these locations:
https://devcenter.heroku.com/articles/keys
Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly
But those aren't working out.
Here is the output from shell to show what I'm trying to do:
[root]# heroku keys
You have no keys.
[root]# heroku login
Enter your Heroku credentials.
Email: [email protected]
Password (typing will be hidden):
Found the following SSH public keys:
1) github.pub
2) heroku.pub
Which would you like to use with your Heroku account? 2
Uploading SSH public key /root/.ssh/heroku.pub... done
Authentication successful.
[root]# git init
Reinitialized existing Git repository in /.git/
[root]# git push heroku master
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Edit: This is for a CentOS server.
ssh-agent
? – redhotvengeancessh-agent
being used? – redhotvengeance