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
ssh network timeout/Broken pipe problem
-
interested
- Posts: 31
- Joined: 19. Jul 2008, 18:54
Re: ssh network timeout/Broken pipe problem
i'm getting similar broken pipe action too.
-
themurman
- Posts: 1
- Joined: 17. Dec 2010, 02:01
- Primary OS: OpenSolaris 10
- VBox Version: OSE other
- Guest OSses: Centos
Re: ssh network timeout/Broken pipe problem
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
Host is OpenSolaris b134, Guest is CentOS 5.5 VBox is 3.2.12