-
Notifications
You must be signed in to change notification settings - Fork 40
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
December 2024 AGAIN: Ctrl-C interrupts the whole ssh session while catching by in interactive mode #83 #248
Comments
Are you really, really sure that this is up to date? $ pacman -Q msys2-runtime
msys2-runtime 3.5.4-8 |
Mine: $ pacman -Suy $ pacman -Q msys2-runtime What's wrong? Without "ProxyCommand connect -5 -S 127.0.0.1:9150 %h %p" in C:\msys64\etc\ssh\ssh_config: all works fine. With: Ctrl+C breaks the whole ssh session down to MinGW64 command prompt. |
Maybe you need |
$ pacman -Syyu $ pacman -Q msys2-runtime |
I suspect, the "connect" utility somehow invokes a terminal, and Ctrl-C destroys it, because new terminal's default Ctrl-C action is terminate a program. |
Your setup must be broken somehow, as a newer msys2-runtime version is current: https://packages.msys2.org/base/msys2-runtime You are unlikely to benefit from any fixes we can make unless you fix your system to be able to upgrade to the newest version. Maybe you have an incorrect |
You were right, now all fixed: $ pacman -Q msys2-runtime I even re-installed: $ pacman -R mingw-w64-x86_64-connect exactly the same behavior: all works fine until C:\msys64\etc\ssh\ssh_config contains "ProxyCommand connect -5 -S 127.0.0.1:9150 %h %p" |
Ctrl + C also breaks for me too since my proxycommand uses cloudflared access |
As not-a-user wrote in original issue #83 (I can't re-open it):
"
On a fresh msys2 install (openssh 8.9p1-3, msys2-runtime 3.3.5-3) this problem shows up when
using a ProxyCommand and the actual proxy command is a plain Windows (non-msys) program. With a direct ssh into the same box CTRL-C works as expected.
"
I confirm that behavior. Moreover I use an msys2 program, mingw-w64-x86_64-connect, and the problem with Ctrl-C appears ONLY while using "ProxyCommand connect -5 -S 127.0.0.1:9150 %h %p" in the ssh config file.
The text was updated successfully, but these errors were encountered: