Page 1 of 1

ssh network timeout/Broken pipe problem

Posted: 10. Nov 2010, 19:38
by leamas
I run some scripts using ssh on Vbox guests which occasionally are idle for about 5 minutes. I then get a "Broken Pipe" error. Problem can be shown with a simple ssh user@guest "sleep 180; echo 'done'" which produces a "Broken pipe" after the sleep.

The problem does not occur between regular, non-vbox hosts. The iptables firewall is disabled. There is no timeout sleeping 120 seconds.

Ssh has options for using TCP keepalive and application level keepalive packets (options TCPKeepALive, ServerAlive*). I have had no success fiddling with these. Is there anybody out there having better ideas how to handle this?

Host Fedora 13, Vbox 3.2.10, guests Fedora 13/x86_64 and Fedora 14/i686

Re: ssh network timeout/Broken pipe problem

Posted: 2. Dec 2010, 14:33
by interested
i'm getting similar broken pipe action too.

Re: ssh network timeout/Broken pipe problem

Posted: 17. Dec 2010, 02:05
by themurman
I'm seeing this as well on VBoxHeadless. I'm running a VM only to provide VPN access and it has no activity quite often.

Host is OpenSolaris b134, Guest is CentOS 5.5 VBox is 3.2.12