1

Possible Duplicate:
Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly

Trying to push a project update to heroku and getting

Permission denied (publickey).

I've pushed to it previously.

Community
  • 1
  • 1
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497

1 Answers1

0

Upload local keys to heroku.

Personal local keys are in ~/.ssh or if not they can be generated with ssh-keygen

The answer it to do heroku keys:add ~/.ssh/id_rsa.pub from the application root.

Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
  • if you're on windows you may need to do extra with your keys. See http://www.gmarwaha.com/blog/2011/05/18/heroku-trouble-with-windows-and-ssh-keys/ – Joseph Eames Nov 14 '13 at 15:53