December 2024 AGAIN: Ctrl-C interrupts the whole ssh session while catching by in interactive mode #83
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.
msys2-runtime 3.3.5-3
Are you really, really sure that this is up to date?
$ pacman -Q msys2-runtime
msys2-runtime 3.5.4-8
$ pacman -Suy
Maybe you need pacman -Syyu. That's necessary e.g. when you copied the files from elsewhere and the timestamps of the files do not reflect when they were last updated, but when they were copied.
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 /etc/pacman.conf or other funny business is going on there. Whatever it is, it needs to be addressed before it makes sense to analyze any further: your msys2-runtime is missing a lot of patches.
Ctrl + C also breaks for me too since my proxycommand uses cloudflared access My msys2 version is 3.5.4
any way to solve this ?