Manage and monitor SSH connections.
SSHMon is a program designed to manage and monitor ssh connections. It has been tested on Linux and OSX with SSH ≥ 6.7.
SSHMon builds on top of the SSH "Control Master" feature, that facilitates port forwarding setup.
Download the latest release of SSHMon for your system and unpack it. Run the sshmon
binary:
./sshmon
Then you can access the web GUI at http://localhost:8377.
Go and have a look at the Tutorial to set up your first host!
yarn
yarn build
yarn start
You can set up SSH connections through the GUI or with a configuration file.
By default, SSHMon will create a config file located at ~/.sshmon/config.yml
.
You also may specify your own configuration file on the command line.
Head over to the Configuration page for more details.
Logging is handled by the bunyan library. A bunyan
process is launched along with SSHMon and writes logs to stderr.
By default, if stderr is a TTY, the logs are pretty-printed, else they are written in a JSON format.
You may use the BUNYAN_OPTS
environment variable to choose which args are passed to the bunyan
process, e.g.:
BUNYAN_OPTS='-l debug' ./sshmon
Docker and docker-compose are required.
You may run the test suite with:
yarn test
SSHMon was developped thanks to the following projects (this list is not exhaustive!):
ProxyJump
SSH hosts