0
点赞
收藏
分享

微信扫一扫

packet_write_wait: Connection to UNKNOWN port 65535: Broken pipe

一条咸鱼的干货 2022-04-18 阅读 54
ssh

ssh连接到另一台主机一会儿不动老掉线怎么办?
解决办法:可以使用ServerAliveInterval参数设置;ServerAliveInterval会在隧道无通信后的一段设置好的时间后发送一个请求给服务器要求服务器响应。在原来的基础上加上-o ServerAliveInterval=60即可;
 

ssh   -o ServerAliveInterval=60  root@47.56.67.xx
举报

相关推荐

0 条评论