Home

Awesome

SSHMon

SSHMon is a program designed to manage and monitor ssh connections. It has been tested on Linux and OSX with SSH ≥ 6.7.

gui-sample.png

How it works

SSHMon builds on top of the SSH "Control Master" feature, that facilitates port forwarding setup.

Disclaimer

Features

Get started

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!

Build from source

yarn
yarn build
yarn start

Configure

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

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

Test

Docker and docker-compose are required.

You may run the test suite with:

yarn test

Troubleshooting

Built with

SSHMon was developped thanks to the following projects (this list is not exhaustive!):

TODO