Putty出现 Network error:Software caused connection abort

使用centos7.5 用Putty连接使用没多久就会出现 Network error:Software caused connection abort 

 

#修改sshd配置文件、修改3项配置即可

vi /etc/ssh/sshd_config

LoginGraceTime 0

TCPKeepAlive yes

ClientAliveInterval 60

 

#保存重启ssh

systemctl restart sshd

 

再次连接使用不再出现

posted @ 2018-11-26 15:36  ducklyl  阅读(5662)  评论(0编辑  收藏  举报