编辑 /etc/ssh/sshd_config文件在末尾增加两行
ClientAliveInterval 30 ClientAliveCountMax 3
重启ssh服务
/etc/init.d/ssh restart
本文链接: http://openssw.com/release/10.html
6
11
提交评论