Enabling ServerAliveInterval by default

Hamish Allan hamish at gmail.com
Mon Dec 17 10:21:24 EST 2007


On Dec 16, 2007 6:56 PM, Nadav Har'El <nyh at math.technion.ac.il> wrote:

> I'm having a very hard time believing that I have been the only person who
> in the course of the last few years found it harder and harder to keep
> non-LAN ssh connections active without being disconnected after a few minutes
> of inactivity. I've seen this problem on several combinations of client and
> server networks.

FWIW, your experience mirrors mine almost exactly and I am very
grateful to you for bringing ServerAliveInterval to my attention.

On Dec 16, 2007 7:21 PM, Bob Proulx <bob at proulx.com> wrote:

> Without the diddle then the connection only dies if
> it is offline when real data is needed to be transferred.  It will
> survive brief periods of the network being offline when nothing is
> happening.  It only has problems if there are real problems.

This cuts both ways -- it only notices problems when they have already
become problems, rather than noticing potential problems and
addressing them.

Hamish


More information about the openssh-unix-dev mailing list