SSH Key - Still asking for password and passphrase

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

    TL;DR
    You need to use an ssh agent. So, open terminal & try

    ssh-add
    

    before pushing to git. Enter your passphrase when prompted.

    Check out the original StackExchange answer here

提交回复
热议问题