使用Putty链接阿里云香港服务器报这个错误。

vim /etc/ssh/sshd_config

找到如下配置

#ClientAliveInterval 540

#ClientAliveCountMax 10

修改为

ClientAliveInterval 5400 //90分钟

ClientAliveCountMax 100  //100次

如果没有添加这两个配置

 

相关文章: