TortoiseGit with openssh key not authenticating using ssh-agent

前端 未结 8 1056
暗喜
暗喜 2020-11-30 01:03

I\'m setting up a git environment on Windows XP (msysGit 1.7.11, TortoiseGit 1.7.14) and trying to achieve following points :

  • ssh connection on a port differ
8条回答
  •  广开言路
    2020-11-30 01:46

    If you use RSA keys in repositories, add at the end of the script as described above^

    CALL "C:\Program Files\Git\cmd\start-ssh-agent.cmd"
    ...
    "C:\Program Files\Git\usr\bin\ssh-add"  ~/.ssh/myid.rsa
    

    Works with Git 2.24.0, TortoiseGit 2.9.0, Windows 10 and no any Putty using.

提交回复
热议问题