socketio-terminal
A client server module which acts like SSH but communicates via socket.io.
Installation
$ npm install [-g|--save] socketio-terminal
Usage
Shell
$ socketio-terminal server [--keyfolder ./test/] [--port 8080];$ socketio-terminal client --privatekey ./test/deployager_rsa --publickey ./test/deployager_rsa.pem --passphrase deployager --username deployager --host localhost --port 8080;
Programmatically
API was born while TDD. If you need more public APIs please send a PR.
Demo
Limitations
Server cannot handle shell commands that require user stdinput while execution. If anyone knows a solution for this limitation then please add an issue at this repo!
License
MIT © s-a