Setting up idle timeout
The SSH daemon closes the connection from the server-side if the client goes silent. To prevent connection loss, instruct the SSH client to send a sign-of-life signal to the server once in a while.
Open the SSH configuration file.
Set the value of
TCPKeepAlive
,ClientAliveInterval
andClientAliveCountMax
options.
Last updated