使用远程登录工具putty或者SecureCRT连接到服务器时,长时间不操作造成网络中断,出现Software caused connection abort

Software caused connection abort的意思是软件的原因造成的网络中断,所以解决办法就要用软件入手,用putty连接你的linux,修改服务器中/etc/ssh /sshd.config 文件,将LoginGraceTime的值设为0,默认为2m,TCPKeepAlive 设为yes, 然后使用service sshd restart来重启sshd服务