Useful resources and utilities
Log analysis. Sideview has developed Splunk for WinSSHD - an application based on Splunk which provides a reporting interface for log data generated by WinSSHD. Users can generate list reports and detail views, and navigate inside charts and tables to see more reports and more details.
Command-line utilities. The following is a list of command-line utilities which will likely be useful to WinSSHD users, along with short descriptions and links to documentation and/or source. If there is a utility you feel should be added to this list, let us know.
- bvRun. Included with WinSSHD. Executes a process in a custom manner. In particular, allows an SSH user to run a process so that it will not be terminated when the SSH session terminates using the -brj parameter. (This requires the 'allow job breakaway' feature to be enabled in WinSSHD settings.) Execute 'bvRun /?' from your WinSSHD directory for help.
- bvPwd. Included with WinSSHD. Allows a user to change their Windows password from a Command Prompt, in case they are using an SSH client that does not support password change. Execute 'bvPwd /?' from your WinSSHD directory for help.
- wstat. Included with WinSSHD. Displays SSH sessions currently connected to WinSSHD, as well as their tunnelled TCP/IP connections. Also included is C++ source code which demonstrates obtaining this information programmatically. Execute 'wstat' from your WinSSHD directory for help.
- NetStat. Included with Windows. Run 'netstat -ano' for a list of active TCP/IP connections and listening ports, including PIDs of the processes using them. Valuable in diagnosing networking issues.
- SchTasks and At. Included with Windows. These commands allow Cron-like scheduling of tasks from the Windows command line. SchTasks is more capable and is a replacement for At in Windows XP. Documentation can be found online at Microsoft's site in the Windows XP Command-Line Reference A-Z.
There are plenty other useful utilities that can be found both already present in Windows or among the Windows Resource Kit Tools.
Resources:
- Microsoft's Command-Line Reference A-Z documents the command-line utilities available in the latest versions of Windows.
- The Command-Line Reference A-Z also links to instructions for writing Windows batch files (command line shell scripts executed by Cmd.exe), a useful skill for any Windows server administrator - particularly when managing machines remotely via SSH and SFTP.
- Very useful is Rick Lively's comprehensive Commands reference, which contains detailed information about the majority of Windows command-line utilities, and in particular their availability in different versions of Windows.
