修改SSH服务的配置文件:
vim /etc/ssh/sshd_config
在文件的最后添加
# 6mins waiting time for client response, xyx
ClientAliveInterval 60
ClientAliveCountMax 6
修改SSH服务的配置文件:
vim /etc/ssh/sshd_config
在文件的最后添加
# 6mins waiting time for client response, xyx
ClientAliveInterval 60
ClientAliveCountMax 6