TortoiseGitPlink will not connect to OpenSSH 6.9
By alan.n.dav... on July 17, 2015 15:53 (imported from Google Code)
What steps will reproduce the problem?
- Host a git repository on a server running OpenSSH v6.9
- Try to clone/pull/fetch from the remote using TortoiseGit over SSH (configured to use TortoiseGitPlink in the settings).
What is the expected output?
Tortoise Git should connect and do the clone/pull/fetch
What do you see instead?
When doing a pull or fetch using the "Sync" dialog, the dialog hangs for about 1-2 minutes. Eventually an error pops up "Server unexpectedly closed the network connection". The log pane shows...
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git did not exit cleanly (exit code 128) (121259 ms @ 17/07/2015 16:49:26)
What version of TortoiseGit and msysgit are you using?
Msysgit: git version 1.9.5.msysgit.0
On what operating system?
Please provide any additional information below.
It would seem that OpenSSH 6.9 has removed support for a certain key exchange protocol, which TortoiseGitPlink is trying to use. I think rebasing TortoiseGitPlink to putty's plink.exe 0.65 should fix the issue.
See also... http://winscp.net/forum/viewtopic.php?t=15626
I have worked around this issue for now by configuring TortoiseGit to use cygwin's ssh.exe instead of TortoiseGitPlink.exe for now.