KpyM Telnet/SSH Server - Forum
How can I close a single clientconnection |
hg |
How can I close a single clientconnection |
Sep 02 2010 11:23 |
|
How can I close a single clientconnection without the other existing connections to close
|
Kroum Grigorov |
|
Sep 12 2010 17:36 |
|
You can see the active connections by listing the files under "c:\Program Files\KTS\log\active-sessions", each file coresponds to one active session.
The files look like this
kts_127.0.0.1_1154_3608_shell_user@domain_2010-09-12 20h 23m 55s
this translates to:
kts_<client ip address>_<client port>_<session PID>_<session state>_<user@domain>_<date>
Now if you need to close a session you can list the running processes on your box([url=l0c41://technet.microsoft.com/en-us/sysinternals/bb896682.aspx]pslist.exe -t[/url]), locate the session you want to close(by it's PID) and kill the cmd.exe process that is the first child of the session.
Kroum
|
hg |
|
Sep 27 2010 13:18 |
|
thx, it works !
|
© 2007 - 2008 Kroum Grigorov