Appearance
vim /etc/ssh/sshd_config
写入配置(保持 120s * 60 = 2h)
120s * 60 = 2h
TCPKeepAlive yes ClientAliveInterval 120 ClientAliveCountMax 60
重启
systemctl restart sshd