TortoiseGit with openssh key not authenticating using ssh-agent

前端 未结 8 1049
暗喜
暗喜 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:43

    Make sure to launch your TortoiseGit in an environment where HOME is defined, and reference the parent directory of .ssh.
    This is important since, on Windows, HOME isn't defined by default.

    See as an example: "Auth fails on Windows XP with git and tortoisegit".
    (Other possible sources: "How to I tell Git for Windows where to find my private RSA key?")

提交回复
热议问题