SSH Key - Still asking for password and passphrase

后端 未结 30 1376
孤街浪徒
孤街浪徒 2020-11-27 08:35

I\'ve been somewhat \'putting up\' with Github always asking for my username and password when I clone a repository. I want to bypass this step because it is an annoyance w

30条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-27 09:35

    If you're using windows, this worked for me:

    eval `ssh-agent -s`
    ssh-add ~/.ssh/*_rsa
    

    It'll ask for passphrase in the second command, and that's it.

提交回复
热议问题