Rootop 服务器运维与web架构

Using keyboard-interactive authentication 及设置会话超时

      修改/etc/ssh/sshd_config将PermitRootLogin yes前面的注释去掉重启sshd服务。

修改:

ClientAliveInterval 60 #server每隔60秒发送一次请求给client。

ClientAliveCountMax 3 #server发出请求后,客户端没有响应的次数达到3,自动断开。

原创文章,转载请注明。本文链接地址: https://www.rootop.org/pages/1415.html

作者:Venus

服务器运维与性能优化

评论已关闭。