heroku error - Permission denied (publickey) when trying to push an update to my application.

460 Views Asked by At

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.

1

There are 1 best solutions below

1
On BEST ANSWER

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.