Getting ssh-agent to work with git run from windows command shell

后端 未结 7 1377
遥遥无期
遥遥无期 2020-12-04 07:09

I have msysgit installed, with OpenSSH. I am connecting to a gitosis repo. From the git bash, I have created a .profile file that runs ssh-agent (if not already

7条回答
  •  执念已碎
    2020-12-04 07:34

    Even though you've probably solved it... use the eval command to make the ssh_agent process stick:

    eval `ssh-agent.exe`
    

    Then use ssh-add to add the keys you need.

提交回复
热议问题