Anti-idle in OpenSSH client?

Mark Janssen maniac at
Sat Apr 5 02:52:38 EST 2003

On Fri, 2003-04-04 at 17:52, David Woodhouse wrote:
> On Fri, 2003-04-04 at 16:39, mandar at wrote:
> > Heya,
> > 
> >    Most of the windows ssh clients (putty, securecrt) have anti-idle
> > features. They offer either a null packet or protocol no-op or user
> > defined string to be sent over every x seconds.
> > 
> >    Is this possible or planned with the OpenSSH client? Our draconian
> > firewall admins have started timing out ssh sessions. Yes I'm aware I
> > could hack up a port forwarding dumb traffic process, but was looking for
> > a more elegant solution like the windows clients have. e.g. a command line
> > option to ssh that lets you anti-idle..
> This would also be useful when using a ProxyCommand which connects via
> an HTTP proxy, which often have similar timeouts.

There are various patches floating around that implement a feature to
send null packets every x seconds... The debian packaged version of
openssh includes one of these. Works perfectly.

Search around bugzilla or the debian patch for openssh ;)

Mark Janssen -- maniac(at) -- GnuPG Key Id: 357D2178
Unix / Linux, Open-Source and Internet Consultant @ SyConOS IT Unix-God.Net|Org|nl|nl

More information about the openssh-unix-dev mailing list