Open abdeldjalil-fellah opened 4 years ago
I had the same issue trying to use with SISH which requests server keepalives. Both Putty and Openssh respond to the keepalives appropriately.
@jalil1408 I am a C# noob but I managed to cobble together something that works. Attached is a patched zip of netstandard2.0 binaries. Renci.SshNet-netstandard20-ServerKeepAliveResponse.zip
when the ssh server is configured to check clients alive status with: ClientAliveCountMax 2 ClientAliveInterval 5
the client should reply to the server requests to prevent the server from terminating the session but it does not as you can see in this server log:
with putty the server logs:
PS: does the client respond to tcp_keepalive messages (TCPKeepAlive yes)?