-
Notifications
You must be signed in to change notification settings - Fork 764
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git push hangs when GIT_SSH is OpenSSH #1377
Comments
One possibility is that GitLab is using a cipher suite that is not configured by default with OpenSSH. I ran into this issue with TFS Git on our TFS 2015 server. Try this to enable verbose logging:
Try the push and see what you get in the output. |
I ran into the same issue, with multiple SSH keys managed. |
I see this with repos with git-lfs as well, but no others. Turning on ssh -vvv and git trace provides additional clues. The initial ssh connection works and connects as expected, but the process gets stuck here with no additional debug output:
I think it's able to connect just fine, but when the run_command is dispatched it hangs. Same openssh and Win10 versions as original poster. Other versions:
|
I'm having the exact same issue. The trace looks the same.
I'd like to add that running the command which appears to hang manually is successful:
Versions:
|
I have the same issue with the same configuration. I tried with git installed via scoop and also via chocolatey. I'm trying now using the openssh installed from scoop. That works fine... it's a minor annoyance for someone who wants a clean install, since you've got two versions of OpenSSH installed, and the scoop version installs the whole msys2 stack. But having a working git is more important! Looking forward to a cleaner fix. I think this establishes that it's an issue with the microsoft-packaged OpenSSH? |
Latest release (v8.0.0.0p1-Beta) from https://github.com/PowerShell/Win32-OpenSSH/releases works fine. The one activated through Windows 10 optional feature is as far as i know - is 7.9 and having this hanging issue. |
@yogasantosa do you see anything specific that fixes this issue (in the linked milestone, maybe)? Or does this one just happen to work in your testing? |
@AnthonyMastrean - found this by accident:
Looking at the milestone there seemed to be two possible issues related to this one |
This has been reported to be working, please reopen if this repros on the latest release. |
"OpenSSH for Windows" version
Client OperatingSystem
What is failing
When GIT_SSH is set to OpenSSH, per the advice here dahlbyk/posh-git#575 (comment), seemingly any
git push
hangs indefinitely? I had to send an interrupt (CTRL+C) to get the console back.Maybe related to #389?
Expected output
A successful push 🤗
Actual output
The text was updated successfully, but these errors were encountered: