Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #2537
Closed
Open
Issue created Aug 02, 2015 by Sven Strickroth@mrtuxOwner

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?

  1. Host a git repository on a server running OpenSSH v6.9
  2. 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?
TortoiseGit: 1.8.14.0
Msysgit: git version 1.9.5.msysgit.0

On what operating system?
Windows 7

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.

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