Send commands to remote terminal to execute and then show result on the web console.
WTS monitor launch a socket server as RPC server, any remote(or maybe the monitor self) terminal can create a socket then connect to the RPC server.
Also WTS monitor will launch a websocket server to manage all remote clients.
The system architecture:
runtime screenshots:
- install via npm
$ npm install wts-monit
or just clone from github:
$ git clone https://github.com/chemdemo/wts-monit.git
- install dependencies
$ npm install
- conf server(s) port
$ vim conf/index.js
- run as debug
$ node index.js # relies on Node.js V5.0+
- deploy via
pm2
$ pm2 start pm2_deploy.json
then open http://[YOUR HOST]:[YOUR PORT]
in browser.
- Node.js client: wts-node
-
login access control
-
command access control
Copyright (c) 2015, chemdemo (MIT License)