packet_write_wait: Connection to UNKNOWN port 65535: Broken pipe

  • ssh连接到另一台主机一会儿不动老掉线怎么办?
  • 解决办法:可以使用ServerAliveInterval参数设置;ServerAliveInterval会在隧道无通信后的一段设置好的时间后发送一个请求给服务器要求服务器响应。在原来的基础上加上-o ServerAliveInterval=60即可;
ssh   -o ServerAliveInterval=60  [email protected]
发布了293 篇原创文章 · 获赞 174 · 访问量 106万+

猜你喜欢

转载自blog.csdn.net/baidu_19473529/article/details/104333585