Git Product home page Git Product logo

sshmon's Introduction

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

  • SSHMon Features (e.g. SSH host definition and connection) are exposed through the GUI. As a consequence, extreme care should be taken to make sure it is only reachable by you. Use at your own risk.
  • SSHMon is still at an early stage of development, as a result some things might not work and we might introduce some breaking changes... Any feedback will be greatly appreciated!

Features

  • Nice GUI
  • SSH port/socket forwarding management
  • Configuration with YAML file
  • Automatic start and retry of connection and port forwarding
  • HTTP forwarding

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

npm run install-all
npm run build
node server/build/cli.js

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:

(cd test && make test)

Troubleshooting

  • So far, only public/private key authentication is supported.
  • Before trying to connect to a host through SSHMon, make sure you can connect to it with SSH on the command line.

Built with

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

TODO

  • Allow to change GUI address
  • Offer multiple GUI themes
  • Allow custom global SSH config options
  • Use BatchMode for ProxyJump SSH hosts
  • Run on Windows

sshmon's People

Contributors

hpello avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.