SSH自动断开的解决方法 2018-09-29在服务端(centos)执行以下指令: 123echo "ClientAliveInterval 60" >> /etc/ssh/sshd_config echo "ClientAliveCountMax 1" >> /etc/ssh/sshd_config service sshd restart