to automatically close a SSH connection on the server, we can change the following ssh configuration.
Edit /etc/ssh/sshd_config
Change
ClientAliveInterval 300
ClientAliveCountMax 3
service sshd restart
to automatically close a SSH connection on the server, we can change the following ssh configuration.
Edit /etc/ssh/sshd_config
Change
ClientAliveInterval 300
ClientAliveCountMax 3
service sshd restart