码迷,mamicode.com
首页 > 其他好文 > 详细

putty software caused connection abort

时间:2015-07-12 11:18:45      阅读:214      评论:0      收藏:0      [点我收藏+]

标签:虚拟机   putty   网络   

错误现象:在很短的时间内就失去连接,并报"Software caused connection abort”
解决办法:首先得排除是网络不是不通畅,如果在局域网中要确定IP没有冲突,验证方法很简单,ping www.baidu.com 即可; 然后修改服务器中/etc/ssh/sshd.config 文件,将LoginGraceTime的值设为0,默认为2m,TCPKeepAlive 设为yes, 然后使用service sshd restart来重启sshd服务,这样设置后,Putty没有再掉线了。

版权声明:本文为博主原创文章,未经博主允许不得转载。

putty software caused connection abort

标签:虚拟机   putty   网络   

原文地址:http://blog.csdn.net/qq_20480611/article/details/46848231

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!