Heroku complains about my public key generated by ssh-keygen2

I am trying to access my heroku application from work (windows machine).

I installed cygwin on the machine and generated ssh-key. However, I get the following error:

C:> hero keys: add "C: \ Cygwin \ main \ 4541450 \ mycoolemail@email.com " Download ssh public key C: \ Cygwin \ main \ 4541450 \ mycoolemail@email.com Enter your Heroku credentials. Email address: mycoolemail@email.c om Password: Download ssh public key C: \ Cygwin \ main \ c54550 \ mycoolemail@email.com ! Contents Invalid public key / Contents Invalid public key / Fingerprint cannot be empty

I generated the ssh key using the command below.

ssh-keygen2 " mycoolemail@email.com " -t RSA

ssh-keygen is not available with this cygwin.

+3
source share
3 answers

"C: \ cygwin \ home \ 4541450 \ mycoolemail@email.com " should be your public key, not private.

+2
source

Perhaps my other answer is useful here . This is my installation for deploying to Heroku from Windows.

+1
source

? , .

0

Source: https://habr.com/ru/post/1744032/


All Articles