7

I have been using git-bash in Windows 10 (Version 10.0.17134.1069) for a year now.

Since last week my SSH commands just hangs. It looks like this:

enter image description here

The process eats up 12% percent of the CPU and hangs. It also affects my GitHub pull and push. This is the path of my ssh C:\Program Files\Git\usr\bin\ssh.exe this is how it looks:

ssh bash look

I use Choco for program installation in Windows 10. Here is how is Git version:

git version

1
  • none yet :( lately I stop using ssh because of this Apr 16, 2020 at 8:38

1 Answer 1

7

I´ve got the same issue with mysysgit 2.28.0 in Windows 10 2004 and I´ve opened a ticket at https://github.com/git-for-windows/git/issues/2822 for further analyzation of this issue. I did some investigation with WinDbg and in my case it looks like this is related to ACL- or Hostname-Resolution.

As a workaround I´ve installed OpenSSH for Win32 (https://github.com/PowerShell/Win32-OpenSSH) using the Chocolatey package manager (see https://chocolatey.org/packages/openssh/8.0.0.1 for more infos). Then I set the environment variable GIT_SSH_COMMAND to "C:\Program Files\OpenSSH-Win64\ssh.exe". After that git push/pull/etc. worked for me again.

Addendum 20.10.2020:

I found out that the problem was caused by the epclient64.dll which belongs to Citrix Workspace VPN client software. After uninstalling Citrix Workspace from my computer ssh.exe from mysysgit doesn't hang anymore. Furthermore I found out that the problem doesn't occur when I install the Citrix Worspace App from the Windows Store instead of using the Installer from the Citrix Download Site (https://www.citrix.com/de-de/downloads/workspace-app/windows/).

5
  • Up-voted. I spent nearly half a day trying to figure this out and was getting nowhere. Thanks for your post. I too found that uninstalling Citrix Workspace App allowed 'git pull' (leveraging ssh.exe) to work again and that installing Citrix Workspace App through the Windows Store also allowed it to KEEP working the way it should.
    – Dan
    Oct 30, 2020 at 23:57
  • 1
    this question craves for a solution. it was a recently installed Citrix software in my case too - but I cannot just uninstall it - ... in any case - I had made customizations to my .bashrc script for automatically starting ssh-agent on Windows according to multiple tutorials that are out there - a quickie to just make bash opening up again is to comment out everything in c"\Users[username]\.bashrc - in case you do have that file. - a better answer would be about how to setup ssh-agent again without messing with Citrix Dec 16, 2020 at 11:17
  • the tutorial that I mention above is mentioned here: stackoverflow.com/questions/18404272/… Dec 16, 2020 at 11:17
  • is there any chance answers.microsoft.com/en-us/windows/forum/all/… is related to this citrix issue ? my win10 is still having this problem. Mar 8, 2021 at 9:58
  • I have the same issue, but only have "Citrix Receiver" installed. There's no epclient64.dll on my computer. Mar 17, 2021 at 17:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.