使用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
再次连接使用不再出现
使用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
再次连接使用不再出现