#ctrl+c exits ssh session

1 messages · Page 1 of 1 (latest)

tranquil hinge
#

I've recently cleaned up my janky setup, no more custom windows-openssh and no more mixed repo's with git dependencies. It all seems to work now.

Except for when I press ctrl+c in a ssh session, it now terminates the session.

server:~$ Connection to x.x.x.x closed.
debug1: channel 0: free: client-session, nchannels 1
Killed by signal 2.

versions: OpenSSH_10.3p1, OpenSSL 3.6.2 7 Apr 2026

Anyone an idea how to debug this?

digital pond
#

What terminal, what client shell, what SSH client?

#

I assume the server side SSH and shell don't matter, but you could note them down anyway.

tranquil hinge
#

Ok, I'll collect them all when I'm back behind the computer.

digital pond
#

The idea is that any of these (or interaction between them) could be causing the issue. You can also then try for yourself if swapping any of them for alternatives produces a different result.

tranquil hinge
#

The same server was working fine before I went back to full msys2. But I get the point of trying to find the combination.

tranquil hinge
#

ok, based on quite a few test, it seems it has to do with one of my zplug installed plugins for zsh, so I'm not bisecting that...

#

ugh, something with loading zplug causes it

#

source ~/.zplug/init.zsh

digital pond
#

At least it's progress.