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. (At the time of Bitvise SSH Server 5.50 release, this program is only known known to be compatible with the WinSSHD log format used in versions up to 5.26.)
Command-line utilities. The following is a list of command-line utilities which will likely be useful to Bitvise SSH Server 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 Bitvise SSH Server. 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 SSH server settings.) Execute 'bvRun /?' from your SSH server directory for help.
- BvPwd. Included with Bitvise SSH Server. 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 SSH server directory for help.
- BssStat. Included with Bitvise SSH Server. Displays SSH sessions currently connected to the SSH server, as well as their tunnelled TCP/IP connections. Also included is C++ source code which demonstrates obtaining this information programmatically. Execute 'BssStat' from your SSH server 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.
- 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.