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

Yuri yuri at rawbw.com
Sat Apr 8 03:13:01 AEST 2023


Hi Rob,


On 4/7/23 10:08, Bob Rasmussen wrote:
> It depends how you "kill" the SSH server.
>
> If you kill it by sending it a SIGKILL signal, it will NOT notify the 
> client, so the client will stay running until the client discovers the 
> connection is broken. 


I run 'kill <pid>' which sends SIGTERM. This should shout it down 
gracefully.

But even with SIGKILL the OS would still shut down the network 
connection gracefully, and this should be propagated to the client.



Yuri




More information about the openssh-unix-dev mailing list