SSH write failed broken pipe
来源:互联网 发布:loco加速器网络不可用 编辑:程序博客网 时间:2024/05/22 17:45
ssh到一个机器的时候,有时候会突然出现:
Write failed: Broken pipe
一般是因为服务端的sshd发现某个连接某一时间没有消息就关闭了此连接,然后客户端这边就断掉了。
解决方法有三种:
1 在服务器的 /etc/ssh/sshd_config 中添加如下的配置:ClientAliveInterval 60
2 如果不好改server,可以改客户端设置:~/.ssh/ 文件夹中添加 config 文件,并添加下面的配置:ServerAliveInterval 10,告诉ssh client每10秒钟给对端发送一个“keep-alive” packet。
3 如果只想某一次操作的时候临时使用,可以在登录命令时添加参数:ssh -o ServerAliveInterval=10 zhc@zhc.com。
原文:http://blog.csdn.net/hongchangfirst/article/details/51308366
作者:hongchangfirst
hongchangfirst的主页:http://blog.csdn.net/hongchangfirst
0 0
- ssh--write failed broken pipe
- SSH write failed broken pipe
- 解决ssh的"Write failed: Broken pipe"问题
- 解决ssh的"Write failed: Broken pipe"问题
- 解决ssh的"Write failed: Broken pipe"问题
- ssh远程登录失败"Write failed:Broken pipe"
- 解决ssh的"Write failed: Broken pipe"问题
- 解决ssh的"Write failed: Broken pipe"问题
- SSH "Write failed:Broken pipe"超时相关问题修复
- 服务器SSH登陆错误:Write failed: Broken pipe
- 解决ssh的"Write failed: Broken pipe"问题
- 阿里云SSH "Write failed: Broken pipe"的问题解决方法
- ssh 设置超时时间 Write failed: Broken pipe
- 解决ssh的"Write failed: Broken pipe"问题
- 解决ssh的"Write failed: Broken pipe"问题
- 解决ssh的"Write failed: Broken pipe"问题
- 解决ssh Write failed: Broken pipe Bad owner or permissions on ssh config
- [iphone][debug]putpkt: write failed: Broken pipe
- ACM第三次练习—1003
- HTTP,TCP,UDP,SOCKET整理
- python 2.x和3.x关于 'module' object has no attribute 'open'的解决办法
- 知识梳理:Android子线程中更新UI的3种方法
- LK的数学题 欧拉函数
- SSH write failed broken pipe
- DetachedCriteria Criteria 使用方法
- 线程生命周期
- 【HUSTOJ】1028: 最小公倍数
- Volatile的前世今生
- cocos2dx3.10的TableView的实现
- 屏幕适配(二)
- 《JAVA编程思想》读书笔记1——OOP思想
- 第9周深复制体验2