(on Mac) I\'m trying to clone my project from my new computer. I first generated the ssh key pairs:
heroku keys:add /Users/y/.ssh/heroku_rsa.pub
<
I had a similar problem. At first, I did not have a key called id_rsa.pub. I only had a key for github: github_rsa.pub. I ran heroku keys and saw that it did recognize that I had a key. But apparently heroku does not like that github key. Here's what I did:
$ssh-keygen -t rsa
$heroku keys:clear
$heroku keys:add
$git clone git@heroku.com:my-app.git -o heroku
This downloaded all the files for the project successfully.