KpyM Telnet/SSH Server - Forum
User idle timeout vs session idle timeout |
Simon |
User idle timeout vs session idle timeout |
Apr 23 2009 15:51 |
|
Hi!
First of all, many thanks for your work on KpyM - I've been looking for something like this for a while!
The scenario I'm using it in at the moment is for running a server process. I want the session to keep going forever, but I also want multiple people to be able to log into that session at various points (using the same user account, obviously).
As I understand it, I can keep the session going with the idle_timeout value; I've done that and it seems to work splendidly.
However, if someone logs in and forgets to shut down their SSH client, nobody else can access that session. So, what I'd like to be able to do is either kick someone off an existing session when I log on, or else have a timeout so that an idle user is automatically kicked off after a given period of time.
Is that something I can do?
Thanks for the help!
Simon
I'm trying to work out how I can keep a disconnected session around forever, while at the same time kicking off users who have been idle for a set amount of time.
As I
|
Kroum Grigorov |
|
Apr 27 2009 19:02 |
|
> keep a disconnected session around forever, while at the same time kicking off users who have been idle
You cant. The current KTS implementation assumes that when the user is disconnected it is also "idle". Once the idle_timeout period expires KTS will kill the user session no matter whether the SSH client is connected or the session is disconnected.
Kroum
|
Simon |
|
Apr 29 2009 13:14 |
|
Thanks for the response.
No matter - it seems to work well with the cygwin version of GNU Screen, which does what I need.
Thanks!
Simon
|
© 2007 - 2008 Kroum Grigorov