On Tue, 2014-05-13 14:09:11 +0200, Gábor Melis <m...@retes.hu> wrote:
> Paolo Carlini <paolo.carl...@oracle.com> writes:
> > On 05/13/2014 01:23 PM, Daniel Ortiz wrote:
> > > excuse me if you already tried this, but perhaps you can add the
> > > following to your ssh config file (sends a null packet every 300
> > > secs. to keep the connection alive):
> > Frankly, every time I read about something similar I find it extremely
> > dumb. Of course you didn't invent anything here, thus *please* don't
> > take my observation personally, but it must be a better way.
> 
> I don't think this qualifies as a better way, but on linux you can play
> with these knobs too:
> 
>     sysctl -w net.ipv4.tcp_keepalive_time=15 \
>               net.ipv4.tcp_keepalive_intvl=15 \
>               net.ipv4.tcp_keepalive_probes=20

Firewalls usually ignore that. With SSH, the only thing that will
probably work is transferring protocol-internal traffic, that is, the
mentioned keepalive packets.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbg...@lug-owl.de              +49-172-7608481
Signature of:              What we do for ourselves dies with us. What we do for
the second  :         others and the world remains and is immortal. (Albert 
Pine)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Gcc-cfarm-users mailing list
Gcc-cfarm-users@gna.org
https://mail.gna.org/listinfo/gcc-cfarm-users

Reply via email to