Killing the OpenSSH server doesn't cause the Windows OpenSSH client to die

Yuri yuri at rawbw.com
Sat Apr 8 02:13:44 AEST 2023


I connect with the OpenSSH client on Windows to the OpenSSH server on 
FreeBSD, all in one LAN, Wifi to Eithernet.


After a while, usually when the connection is inactive for some time, it 
becomes dysfunctional: it becomes impossible to connect through reverse 
port forwards from FreeBSD to Windows.

At such times killing the ssh server process on FreeBSD, corresponding 
to the connection, doesn't cause the client to exit on Windows.

But hitting Enter on the client in Windows causes it to immediately exit.


Did anybody experience a problem like this?

Could there be a bug in OpenSSH?

Is it possible that Windows fails to deliver the signal to the client 
that the connection was terminated?


Thank you,

Yuri



More information about the openssh-unix-dev mailing list