network error:software caused connection abort

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

vim /etc/ssh/sshd_config

找到如下配置

#ClientAliveInterval 540

#ClientAliveCountMax 10

修改为

ClientAliveInterval 5400 //90分钟

ClientAliveCountMax 100  //100次

如果没有添加这两个配置

 

posted @ 2019-03-07 11:38  Mr.peter  阅读(2699)  评论(0编辑  收藏  举报