Saving ssh key fails

前端 未结 14 1094
予麋鹿
予麋鹿 2021-01-30 21:44

i just started a Git tutorial and I get to a deadend: I try to generate a rsa key part and it fails. I did this, in git bash:

ssh-keygen -t rsa -C \"myemail@myem         


        
14条回答
  •  孤街浪徒
    2021-01-30 22:20

    In Windows I had to create the environment variable HOME pointing to my user profile first (C:\Users\) or whatever directory you prefer.

    Then start a new command line window, create a a .ssh directory in your user profile or choosen diretory using mkdir ".ssh" command.

    After doing that I was able to use the ssh-keygen without any path problems.

提交回复
热议问题