SSH Key - Still asking for password and passphrase

后端 未结 30 1390
孤街浪徒
孤街浪徒 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:09

    I had to execute:

    eval `ssh-agent -s`
    ssh-add
    

    Note: You will have to do this again after every restart. If you want to avoid it, then enter it in your ".bashrc" file which is in C:\Users\<>\.bashrc on windows. It is probably hidden, so make sure that you can see hidden files.

    Solution found here.

提交回复
热议问题