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.
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.