Thursday, December 11, 2014

Encountering 'Write Failed: Broken Pipe" suring SSH connection on CentOS

I encountered this error Write Failed: Broken Pipe" during SSH connection. From what I know, it is caused by the Linux Server severing connections that have been idle too long ago.

To solve the issues, you can do the following

1. At your Linux Server Side, you can configure
# vim /etc/ssh/sshd_config

.....
ClientAliveInterval 60
.....


2. At your Client Side
# vim ~/.ssh/config 

.....
ServerAliveInterval 60
.....

No comments: