Saving ssh key fails

前端 未结 14 1220
予麋鹿
予麋鹿 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:24

    I faced the same problem. Solution on windows:

    1. open start menu and type cmd
    2. Right and choose run as administrator
    3. Then type cd Users_YOURUSERNAME_\ Replace "YOURUSERNAME" with your windows account name
    4. The type: mkdir .ssh

    This will create a .ssh folder.

提交回复
热议问题