转载请注明出处:http://blog.csdn.net/l1028386804/article/details/78252979
echo "ClientAliveInterval 60" >> /etc/ssh/sshd_config echo "ClientAliveCountMax 1" >> /etc/ssh/sshd_config重启 SSH服务
service sshd restart然后退出,重装进入就不会断开了.
转载请注明出处:http://blog.csdn.net/l1028386804/article/details/78252979
echo "ClientAliveInterval 60" >> /etc/ssh/sshd_config echo "ClientAliveCountMax 1" >> /etc/ssh/sshd_config重启 SSH服务
service sshd restart然后退出,重装进入就不会断开了.