inactivity timeout or disconnect

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Wed Sep 3 16:33:15 WST 2008


On Wed, 3 Sep 2008, Ming-Ching Tiew wrote:

> Ming-Ching Tiew wrote:
> > I am using dropbear as sshd server and dbclient as ssh client
> > and I do reverse port forward between the client and the server
> > ( ie it does not start shell ). That has been working.
> >
> > And I want to have an activitity disconnect after certain
> > period of inactivity from the client. How can I do it ?
> >
>
> I did some search, and I have come to conclusion that
> dropbear could not do it, and openssh daemon could
> not do it too ! I am surprised !
>
> Anyone as a workaround ?

Take a look at the ssh_config man page and look for caseless 'alive'
string.

  ServerAliveCountMax
  ServerAliveInterval
  TCPKeepAlive

Cheers,

-- 
Cristian



More information about the Dropbear mailing list