Bundled TortoisePlink cannot connect to OpenSSH 6.9p1
Created originally on Bitbucket by hirayama_evolni (Wataru Hirayama)
- TortoiseHg: 3.4.2
- OpenSSH(server side): 6.9p1
With above versions concerned, access to the ssh:// URL is failed.
server side log:
[sshd] error: Hm, kex protocol error: type 30 seq 1 [preauth]
client says: Server unexpectedly closed network connection
On OpenSSH 6.9, old key exchange type SSH2_MSG_KEX_DH_GEX_REQUEST_OLD is deprecated as below.
http://www.openssh.com/txt/release-6.9
* ssh(1), sshd(8): deprecate legacy SSH2_MSG_KEX_DH_GEX_REQUEST_OLD
message and do not try to use it against some 3rd-party SSH
implementations that use it (older PuTTY, WinSCP).
But TortoisePlink included with TortoiseHg uses it. Excerpt from wireshark capture:
Message Code: Diffie-Hellman Group Exchange Request (Old) (30)
So, TortoisePlink should be replaced with something better, but...
Curren TortoisePlink included with TortoiseSVN is newer than TortoiseHg, but it has same problem.
I tried plinkw (plink without console) included with old japanese-localized PuTTY (http://yebisuya.dip.jp/Software/PuTTY/), it goes well, but it's not a common solution.
Thanks.