SSH错误:packet_write_wait: Connection to 10.57.19.250 port 22: Broken pipe

  现象:ssh连接以后,服务器会主动断开连接,wireshark抓包,发线服务器会tcp rst,断开ssh连接

  解决尝试:1、修改会话超时时间;2、客户端主动间隔性向服务器发送保活报文;3、服务端主动间隔性向客户端发送保活报文   全部失败

 

参考下面的资料都尝试了,无解

 

参考:

1、http://www.talkwithtrend.com/Question/225451

2、https://unix.stackexchange.com/questions/259225/packet-write-wait-broken-pipe-even-leaving-top-running

3、http://blog.topspeedsnail.com/archives/3717

4、https://bingozb.github.io/61.html

5、http://www.cnblogs.com/fbwfbi/archive/2013/05/06/3063331.html

回答: 当你使用telnet命令时,如果出现"telnet: connect to address 10.57.31.232: Connection refused"的错误,这意味着telnet无法建立到给定地址的连接。通常情况下,这是因为目标主机拒绝了telnet连接请求。可能的原因包括目标主机上的防火墙设置,目标主机上没有运行telnet服务器,或者目标主机不允许telnet连接。你可以尝试检查目标主机的网络设置和防火墙配置,确认telnet服务是否已启动,并确保目标主机允许telnet连接。如果问题仍然存在,你可以尝试使用其他方法进行连接或与系统管理员进行进一步的沟通。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* [ssh: connect to host github.com port 22: Connection refused fatal: Could not read from remote reposi...](https://blog.csdn.net/weixin_41697143/article/details/129012461)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *3* [SSH错误packet_write_wait: Connection to 10.57.19.250 port 22: Broken pipe](https://blog.csdn.net/weixin_34410662/article/details/85989501)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值