首页
Profile
Profile
Profile
Profile
Profile

CentOS 6.0 设置SSH保持链接时间

2011-11-03 阅读 49
安全所需,SSH链接闲置后,SSH Server 会在超时后自动终止 SSH 连线。 设置这个时间的方法:
    /etc/ssh/sshd_config
    ```
    

编辑 ClientAliveCountMax,单位分钟。

重启 sshd:

    /etc/rc.d/init.d/sshd restart  
    ```
    

绝对路径

安全 SSH 链接 闲置 Server 超时 自动 终止
更新于 2023年03月28日
 
陕ICP备13008705号-1 Chat Gpt Api