The Who.exe command-line utility included with VShell server for Windows installations provides information about the current active connections to the server. As of VShell 3.5, Who.exe also offers the ability to disconnect an active session. This tip explains the workings of the --kill function. The --kill option is restricted to users with administrator privileges.
The Who.exe command-line utility displays the username, session-id, date and time of the initial connection, and the IP address or hostname of the client machine.
To disconnect a session using the --kill function, first run Who.exe with no arguments. This will give you the session -id of the connection you want to terminate.
Next, run Who.exe with the --kill command-line option combined with the session -id to be terminated.
The following example shows the complete syntax to kill Bob's SSH2 session from the example in the above screen shot:
Who.exe --kill ssh2:7
The new --kill functionality applies
to both VShell SSH2/SFTP and VShell FTPS connections. If both services
are running, there is a possibility that the same session-id exists
for both an SSH2/SFTP and FTPS connection. If this is the case, then
the session-id must be prepended with either "ssh2:"
or "ftps:" so the correct session
is disconnected.
If you have any questions about using Who.exe or the --kill command-line option, contact VanDyke Software Support.
VanDyke Software uses cookies to give you the best online experience. Before continuing to use this site, please confirm that you agree to our use of cookies. Please see our Cookie Usage for details.
Here you can control cookies using the checkboxes below. Some cookies are essential for the use of our website and cannot be disabled. Others provide a convenience to the user and, if disabled, may reduce the ease of use of our site. Finally, some cookies provide anonymous analytic tracking data that help us provide the user with a richer browsing experience. You can elect to disable these cookies as well.