# vi /etc/ssh/sshd_config ClientAliveInterval 20ClientAliveCountMax 45 # 重启sshd服务: /etc/init.d/sshd restart 相关文章: