设置SSH 会话连接永远不超时

2020-08-08  本文已影响0人  素时年锦

更改服务器上 /etc/ssh/sshd_config 的 SSH 配置文件

原本的配置文件
vim /etc/ssh/sshd_config
ClientAliveInterval 120  // 超时时间,10s
ClientAliveCountMax 720  // 超时次数,0次
systemctl start sshd
上一篇 下一篇

猜你喜欢

热点阅读