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?