> CentOS > CentOS故障 >

CentOS下解决SSH自动断开办法

echo "ClientAliveInterval 60" >> /etc/ssh/sshd_config
echo "ClientAliveCountMax 1" >> /etc/ssh/sshd_config

重启SSH服务

service sshd restart

然后退出,重装进入就不会断开了.



(责任编辑:IT)