[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ssh error - Write failed: Broken pipe



On 23/05/12 19:46, Gary Dale wrote:
> This is repeatable 100% of the time.

I get this error on my ISP.  I have found they are inspecting the
internet packets and terminating if there is too little back-and-forth
traffic.  My ISP is a mobile phone network over 3G so they are probably
trying to keep the bandwidth for phones only.

I do "-o ServerAliveInterval=5" which has my ssh client ping the server
every 5 seconds to keep it alive.

To summarise, I get rid of broken pipe errors by using this command line

ssh -o ServerAliveInterval=5 user@server.com

Hope this helps,
elbbit
-- 
elbbit@gmail.com


Reply to: