socketio-terminal

A client server solution which acts like SSH but communicates via socket.io.

Usage no npm install needed!

<script type="module">
  import socketioTerminal from 'https://cdn.skypack.dev/socketio-terminal';
</script>

README

socketio-terminal NPM version Build Status Dependency Status Coverage percentage

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

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