Heroku refuses to accept my public key, which I created using puttygen. I tried to search for answers using Google, however, the decision to copy the key, and not save it through puttygen, did not solve my problem.
L:\>heroku keys:add "[path]\.ssh\id_rsa.pub"
Uploading ssh public key [path]\.ssh\id_rsa.pub
Enter your Heroku credentials.
Email: [email]
Password:
Uploading ssh public key [path]\.ssh\id_rsa.pub
! Contents Invalid public key
I tried to generate several key pairs if only one was unacceptable and none of them worked.
source
share