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\"
if you dont have ssh key yet then try generating it using below command :
1. ssh-keygen -t rsa -C "your_email@example.com"
2. ssh-add
For getting rid of heroku permission denied (public key) add your keys to heroku using:
3. heroku keys:add
OR
heroku keys:add
For getting rid of Github permission denied (public key) add your keys to Github using:
4. ssh-add
OR
ssh-add