Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly
You have to upload your public key to Heroku: heroku keys:add ~/.ssh/id_rsa.pub If you don’t have a public key, Heroku will prompt you to add one automatically which works seamlessly. Just use: heroku keys:add To clear all your previous keys do : heroku keys:clear To display all your existing keys do : heroku keys EDIT: … Read more