Git keeps asking me for my ssh key passphrase

前端 未结 14 1877
长情又很酷
长情又很酷 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:37

    If you are not using GitBash and are on Windows - you need to start your ssh-agent using this command

    start-ssh-agent.cmd
    

    If your ssh agent is not set up, you can open PowerShell as admin and set it to manual mode

    Get-Service -Name ssh-agent | Set-Service -StartupType Manual
    

提交回复
热议问题