TortoiseGit with openssh key not authenticating using ssh-agent

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

    I first installed TortoiseGit with Plink and using Pageant to load ssh private key. The automatic authentication (Pageant) worked but setup was a fail as TortoiseGit don't recognize git repos url formatted as gitolite@gitbox/repo.git.

    I finally found a workaround which consist to create a PuTTY session with the same name that the ssh alias (ie gitbox in the question).
    This way I can clone as git clone gitbox/monrepo in the CLI and the origin syntax is correctly handled by TortoiseGit.

提交回复
热议问题