OpenSSH "Write failed: Broken pipe"

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
This is sort of a general question, and I don't think I'm looking at
any sort of OpenSSH bug, but figuring out what the "write failed"
message means might help me track down whatever network/firewall issue
I'm dealing with.

I've noticed that in general when I lose a session due to a state
timeout in the firewall or simple loss of connectivity, I'll get an
error message like this:

"Timeout, server not responding."

Recently we've been seeing this message:

"Write failed: Broken pipe"

Is there anything I can infer from that second message about what the
root cause of the failure is?  Just looking for a general answer about
what each error message is trying to tell me.



Re: OpenSSH "Write failed: Broken pipe"

spork wrote, On 2011-10-18 02:01:
Quoted text here. Click to load it

Timeout and/or Connection drop.

To increase the default timeout I use these settings in /etc/ssh/sshd_config :
   ClientAliveInterval 60
   ClientAliveCountMax 3

There is another solution as described here: /

Site Timeline