echo "ClientAliveInterval 60" >> /etc/ssh/sshd_config
echo "ClientAliveCountMax 15" >> /etc/ssh/sshd_config
service sshd reload
echo "ClientAliveInterval 60" >> /etc/ssh/sshd_config
echo "ClientAliveCountMax 15" >> /etc/ssh/sshd_config
service sshd reload
本文标题:SSH长时间不使用自动断开解决方案
本文链接:https://www.haomeiwen.com/subject/rmfjwhtx.html
网友评论