Idle SSH session disconnects (update)

Mark Janssen maniac at maniac.nl
Tue Sep 10 02:53:34 EST 2002


On Mon, 2002-09-09 at 15:58, Martin Johansson wrote:
> If you do not have control over the sshd configuration so that you cannot
> control ClientAlive-stuff, you can use the attached patch (against openssh
> 3.4p1). It adds 2 parameters to ssh_config:
> 
> BogusTrafficIntervalMax 12
> BogusTrafficIntervalMin 1

The debian ssh package has something like this built into the default
package as well, they have a somewhat different name and configuration
for it, but it works for me. 

In the debian patch you can find the relevant code. It's the
'ProtocolKeepalive' feature. :)

Patch can be found on any debian source mirror.




More information about the openssh-unix-dev mailing list