Instructions:
npm install express faye-websocket ssh2 term.js
- Create a
public
subdirectory - Place
client.htm
inpublic
- Edit the ssh connection details in
server.js
. See the documentation for theconnect()
method in the ssh2 readme for more information. - Start the server with
node server.js
- Visit http://localhost:8000/client.htm in a WebSocket-capable browser