开发者

TortoiseGit (64 bit) stops working on cpt reboot (win 7 64 bit)

I inst开发者_高级运维alled TortoiseGit 1.6.5.0 64 bit and Git on Windows 7 64 bit, connecting to a local git server. It ran for 3 days after the first install. On rebooting cpt after a weekend, it stopped running on a clone ("network error: connection refused"). Rsa key used to connect to server works on putty. Git standalone also works with the same rsa key, using TortoisePlink.exe.

Have tried uninstalling and re-installing TortoiseGit but the result is still the same - no go for TortoiseGit (clone, push, pull...).

Have tried to take out Putty to force TortoiseGit to use its own pagent.exe, no difference.

Would like to use TortoiseGit instead of Git. Any suggestions would be welcomed. tia.


Had the same frustrating issue. Try to read the debug information from Tortoiseplink:

  1. Create TortoisePlink.cmd file in the same folder as TortoisePlink.exe with the following content:

    @echo off path\TortoisePlink.exe -v %1 %2 %3 %4 %5 %6 %7 %8 %9

    replace path to suit your needs.

  2. Go to to TortoiseGit settings -> Network and choose TortoisePlink.cmd as your ssh client.

  3. Make something with your repository (clone, push, pull) and view the output.

In my case TortoiseGit was always trying to use one particular key, which have not been assigned to git user. I found no settings regarding default keys, so I just moved this key and then TortoiseGit was able to use other keys.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜