-
Bug
-
Resolution: Fixed
-
Highest
-
1.8.2.11, 1.9.3-beta-1, 1.10.0-alpha-1
-
None
-
Severity 3 - Minor
When using SourceTree with PuTTY against a Git server only accepting modern HMACs (for example hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-ripemd160,uma-128@openssh.com,hmac-sha2-512,hmac-sha2-256) the communication fails with
We claim version: SSH-2.0-PuTTY_Local:_Apr_16_2013_12:55:41 Server version: SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u2 Using SSH protocol version 2 Doing Diffie-Hellman group exchange Server unexpectedly closed network connection FATAL ERROR: Server unexpectedly closed network connection
In the server log one can see:
sshd[75215]: fatal: no matching mac found: client hmac-sha1,hmac-sha1-96,hmac-md5 server umac-64-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,umac-128@openssh.com [preauth]
The root cause for this problem is that the plink in the SourceTree distribution is ~3 years old. Updating the included PuTTY tools (plink, pagent and puttygen) would also fix some security bugs found in PuTTY in recent years and would update puttygen to generate 2048-bit RSA keys by default.
PS: You might even consider using TortoiseGitPlink, which is patched to show host key prompts as Windows dialogs...
- is duplicated by
-
SRCTREEWIN-5623 SourceTree ignores host key types other than rsa2 when putty/plink is used with Git.
-
- Closed
-
- is related to
-
SRCTREEWIN-5881 Kaspersky Antivirus claiming Plink.exe from Sourcetree Beta has trojan
-
- In Progress
-
- relates to
-
SRCTREEWIN-5472 Sourcetree is not connecting with ssh
-
- Needs Triage
-
-
SRCTREEWIN-2451 Update putty version included in installation
- Closed
- was cloned as
-
SRCTREE-565 Loading...