ssh connection timout code example
Example 1: ssh connection timeout
ClientAliveInterval 1200
ClientAliveCountMax 3
Example 2: ssh connection timeout
$ sudo vi /etc/ssh/sshd_config
ClientAliveInterval 1200
ClientAliveCountMax 3
$ sudo vi /etc/ssh/sshd_config