On Wednesday 03 September 2008 20:39:12 Ming-Ching Tiew wrote:
jose otero wrote:
I ran into the same problem (with respect to keyboard activity). You
can create a timer that fires when your inactivity criteria is met.
You can restart your timer when a carriage return is entered or if a
I actually need to do this also. Here is what I am planning: One way
to do it would be to add another command line option for the idle
timeout. Another timeout (based on command line) could be added to
the select(). This case would check to see if there has been any
activity, and if not, close
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
I ran into the same problem (with respect to keyboard activity). You can
create a timer that fires when your inactivity criteria is met. You can
restart your timer when a carriage return is entered or if a single
character is typed. When the timer function executes make sure you clean-up
the