Git Bash Hang Issue

321 views
Skip to first unread message

Shreya Chakraborty

unread,
Aug 6, 2023, 9:20:34 AM8/6/23
to git-for-windows
Hello All,

I am facing an issue in git-bash in Windows that it hangs when I try to execute any ssh commands, like ssh-keygen or use ssh to connect to any server and at the same time consumes high CPU.
I tried executing "C/Program Files/Git/usr/bin/ssh-keygen.exe" from command prompt and it is working fine but the same hangs when executed from git bash and it is happening in versions like 2.39.0,2.39,2,2.40.0 as seen so far.

Could anyone please help regarding this issue, is the issue related to git-bash or is it something else, what could be the reason be for this hang.

Regards,
Shreya

Konstantin Khomoutov

unread,
Aug 7, 2023, 11:30:19 AM8/7/23
to git-for...@googlegroups.com
It's hard to say anything useful without further debugging.
If you feel like doing a bit of digging, one usually starts with installing
Sysinternals [1] and uses Process Explorer and Process Monitor in an attempt
to figure out what the process is doing which makes it consume CPU.
This might not give you any clues, actually. If so, feel free filing a bug in
the Git for Windows issue tracker (but first check there's no already filed
issue about this).

1. https://learn.microsoft.com/en-us/sysinternals/downloads/sysinternals-suite

Reply all
Reply to author
Forward
0 new messages