PowerShell / PowerShell/Win32-OpenSSH
Cloning a Git repository using ssh.exe hangs
Open
Nobody has claimed this yet.
0 - Backlog
Issue-Bug
- Dominant language
- No language data
- Stars
- 8.3k
- Forks
- 819
- PR merge metrics
- No merged PRs in 30d
Description
When I try to use your version of ssh.exe with Git to clone a repository, it hanges.
Steps to Reproduce
- Install Git for Windows (I'm on 2.10.1 on Windows 7, bot x64)
- Open a new PowerShell prompt (so git.exe is in your PATH)
- Set the GIT_SSH environment variable to point to Win32-OpenSSH's ssh.exe: `Set-Item env:GIT_SSH "C:\Program Files\Open-SSH-Win64\ssh.exe"
- Clone a Git repository using SSH:
git clone ssh://HOSTNAME/REPO REPO. - Note that the git.exe command hangs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the hang with Git for Windows 2.10.1 on Windows 7, using the documented PowerShell GIT_SSH setting and clone command. Check whether the behavior is specific to Win32-OpenSSH's ssh.exe, then trace the SSH invocation and compare it with Git's expected process behavior. Done means the clone completes without hanging and the regression is covered by a reproducible test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, powershell
- Domain
- cli, networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100