Jose Baars wrote: > What also helps or might even be necessary .. > is turning on SO_KEEPALIVE
Beware. Enabling TCP keepalive is not neccessarily a feature. For example on a laptop which may have intermittent VPN connectivity, I consider the keepalive default in Linux to be really superior. It's great that the ssh connections just magically continue to work the next time the VPN comes up. > if you're not lucky, or on Linux (where you can't turn this on as a > system wide default the last time I looked), you might not be able > to detect a broken connection. http://www.ibiblio.org/pub/Linux/docs/HOWTO/TCP-Keepalive-HOWTO > The SSH keepalive options might mitigate this, but I did not try, > so no idea. Yeah, they'll do the trick too. //Peter _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
