title: SSH tunnel through a web browser
body: <p>I know it can be done with some java applets, but I've been wondering if it is possible to do with javascript or other technologies, I guess there have to be something with WebSockets.</p>
  
  <p>Here is what I want to achieve:</p>
  
  <p>We have a remote device with an SSH client installed and the capability of receiving commands. I want to be able to open a web browser at a random client (desktop computer), open/start somehow an SSH server / endpoint, send a command to the remote device which will open a reverse SSH tunnel to the desktop computer so it could finally access the tunnel with a simple call like <code>http://localhost:port</code>.</p>
  
  <p>Is that possible without JAVA + APPLETS (of course the desktop computer must not install any ssh server specifically).</p>