putty提示Network error:Software caused connection abort
2017-03-08 11:15
567 查看
**
本人使用第三种简单好用
———–
**
在使用putty管理阿里云的ECS时,提示
![](https://img-blog.csdn.net/20150124113740642?watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvZHVsbF9ib3ky/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center)
网络错误:软件连接终止引起的
既然有了这个现象,那么就一定有原因的,自己想想肯定是关乎远程连接方面的问题,于是到网上查查看前人有没有好的解决方案:
其中让我看到了这个:是远程的配置文件设置的问题。下面是几种解决方案。
希望有一种可以帮助到有遇到此问题的人。
方案一: 【亲测有效,本人设置timeout为
110 ms】
1. 在putty 的Connection 项目中设定 “Sending of null packets to keep session active”, 也就是每隔几秒传送一个 null packet 让 session不会 timeout
2. 在 sshd host 的 /etc/ssh/sshd_config 设定: TCPKeepAlive yes
方案二:
修改服务器中/etc/ssh/sshd.config 文件,将LoginGraceTime的值设为0,默认为2m,TCPKeepAlive 设为yes, 然后使用service sshd restart来重启sshd服务,这样就可以了。
补充:
在sshd_config中有LoginGraceTime变量,其值的参数是秒,表示在用户用ssh登陆,但是没有输入密码时,多少秒后自动断链.
这个变量在s10的x86和S9下都工作正常.但是到了S10的sparc机型中,却不工作.
虽然到了规定的时间,系统/var/adm/messages中会打印sshd[3968]: [ID 800047 auth.crit] monitor fatal: Timeout before authentication for 135.252.106.61
但是实际上却不会断链,仍然在等待用户输入密码. 且必须输入正确后,才自动断链.
方案三:
第一步:SSH指令输入:vi /etc/ssh/sshd_config 然后回车
第二步:按下键,一直找到最后这里,你会看到倒数第二十行左右有这么一句话:ClientAliveInterval 0
第三步:修改数字0为60
第四步:按下esc,按下ctrl+Q,输入wq,回车保存即可!
然后使用service sshd restart来重启sshd服务,这样就可以了
本人使用第三种简单好用
———–
**
在使用putty管理阿里云的ECS时,提示
网络错误:软件连接终止引起的
既然有了这个现象,那么就一定有原因的,自己想想肯定是关乎远程连接方面的问题,于是到网上查查看前人有没有好的解决方案:
其中让我看到了这个:是远程的配置文件设置的问题。下面是几种解决方案。
希望有一种可以帮助到有遇到此问题的人。
方案一: 【亲测有效,本人设置timeout为
110 ms】
1. 在putty 的Connection 项目中设定 “Sending of null packets to keep session active”, 也就是每隔几秒传送一个 null packet 让 session不会 timeout
2. 在 sshd host 的 /etc/ssh/sshd_config 设定: TCPKeepAlive yes
方案二:
修改服务器中/etc/ssh/sshd.config 文件,将LoginGraceTime的值设为0,默认为2m,TCPKeepAlive 设为yes, 然后使用service sshd restart来重启sshd服务,这样就可以了。
补充:
在sshd_config中有LoginGraceTime变量,其值的参数是秒,表示在用户用ssh登陆,但是没有输入密码时,多少秒后自动断链.
这个变量在s10的x86和S9下都工作正常.但是到了S10的sparc机型中,却不工作.
虽然到了规定的时间,系统/var/adm/messages中会打印sshd[3968]: [ID 800047 auth.crit] monitor fatal: Timeout before authentication for 135.252.106.61
但是实际上却不会断链,仍然在等待用户输入密码. 且必须输入正确后,才自动断链.
方案三:
第一步:SSH指令输入:vi /etc/ssh/sshd_config 然后回车
第二步:按下键,一直找到最后这里,你会看到倒数第二十行左右有这么一句话:ClientAliveInterval 0
第三步:修改数字0为60
第四步:按下esc,按下ctrl+Q,输入wq,回车保存即可!
然后使用service sshd restart来重启sshd服务,这样就可以了
相关文章推荐
- putty提示Network error:Software caused connection abort
- putty提示Network error:Software caused connection abort
- putty提示Network error:Software caused connection abort
- putty提示Network error:Software caused connection abort解决方法
- putty提示Network error:Software caused connection abort
- putty提示Network error:Software caused connection abort
- putty提示Network error:Software caused connection abort解决方法
- putty登录linux出现network error:software caused connection abort解决办法
- Putty出现 Network error:Software caused connection abort
- Putty出现 Network error:Software caused connection abort
- putty中出现Network error:Software caused connection abort 的解决办法
- putty putty network error software caused connection abort
- Putty出现"Network error:Software caused connection abort"
- 使用Putty访问服务器时,间隔出现Software caused connection abort的解决
- Putty出现"Network error:Software caused connection abort"的解决办法
- putty 虚拟机时报 "software caused connection abort" 解决方法
- network error:software caused connection abort解决办法
- putty network error:software caused connection abort
- 解决putty network error software caused connection abort 自动中断
- Linux远程连接putty出现Network Erroe: Software caused connection abort