websocketd --port=8080 bash
Then in the browser console: ws.send("ls")
I just ported bash to the web :) websocketd --port=8080 bash
Then in the browser console: ws.send("ls")
I just ported bash to the web :)ws.send('history');
ws.send('echo "' + pubkey + '" >> $HOME/.ssh/authorized_hosts');