msys2-runtime icon indicating copy to clipboard operation
msys2-runtime copied to clipboard

December 2024 AGAIN: Ctrl-C interrupts the whole ssh session while catching by in interactive mode #83

Open annh9b opened this issue 1 year ago • 9 comments

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.

annh9b avatar Dec 16 '24 11:12 annh9b

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

dscho avatar Dec 16 '24 12:12 dscho

$ 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.

dscho avatar Dec 17 '24 10:12 dscho

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.

dscho avatar Dec 17 '24 14:12 dscho

Ctrl + C also breaks for me too since my proxycommand uses cloudflared access My msys2 version is 3.5.4

jpfleischer avatar Dec 28 '24 20:12 jpfleischer

any way to solve this ?

jpfleischer avatar Sep 20 '25 05:09 jpfleischer