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

扫描二维码关注公众号,回复: 4242575 查看本文章

再次连接使用不再出现

猜你喜欢

转载自www.cnblogs.com/ducklyl/p/10020630.html