VI / etc / SSH / the sshd_config ClientAliveInterval 120 ClientAliveCountMax . 5 # Note: # ClientAliveInterval option defines the number of seconds every time transmits signals to the SSH client; # ClientAliveCountMax option defines a number of spaced above