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
