Git keeps asking me for my ssh key passphrase

前端 未结 14 2088
长情又很酷
长情又很酷 2020-11-27 09:07

I created keys as instructed in the github tutorial, registered them with github, and tried using ssh-agent explicitly — yet git continues to ask me for my passphrase every

14条回答
  •  离开以前
    2020-11-27 09:25

    What worked for me on Windows was (I had cloned code from a repo 1st):

    eval $(ssh-agent)
    ssh-add 
    git pull 
    

    at which time it asked me one last time for my passphrase

    Credits: the solution was taken from https://unix.stackexchange.com/questions/12195/how-to-avoid-being-asked-passphrase-each-time-i-push-to-bitbucket

提交回复
热议问题