Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 829
    • Issues 829
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurial
  • TortoiseHg
  • thgthg
  • Issues
  • #4234
Closed
Open
Created Jul 23, 2015 by Bitbucket Importer@bitbucket_importerOwner

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking