I keep getting this error. I am using Mac. I generated a key and added it to heroku using
heroku config:add key=\"ssh-rsa blahblah=me@me.com\"
the solution above did not work for me as I did not have any keys generated in my ~/.ssh folder.
My solution was to simply type heroku keys:add
The output in terminal was:
Could not find an existing public key.
Would you like to generate one? [Yn] y
Generating new SSH public key.
Uploading SSH public key /home/funkdified/.ssh/id_rsa.pub... done
See: https://devcenter.heroku.com/articles/keys