Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Sorry, given your constraints (client-side Javascript only), there is no way to connect to a plain old SSH server.</p> <p>WebSockets is not plain TCP. It's a framed protocol with a HTTP-like handshake between the client and server that includes origin policy.</p> <p>Flash can make plain TCP connections, but it also has origin policy enforcement. The way it does this is by making a connection to the same server on port 843 and asking for a special XML file that contains the origin policy. If you are willing to relax your constraints slightly such that you are willing to run a generic WebSockets to TCP proxy either on a server (any server) or on the client then you can do what you are wanting to do. noVNC includes a C and python WebSockets to TCP proxy: <a href="http://github.com/kanaka/noVNC/tree/master/utils/" rel="noreferrer">http://github.com/kanaka/noVNC/tree/master/utils/</a>.</p> <p>Other info you might find useful:</p> <ul> <li><p>Current WebSocket draft: <a href="http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76" rel="noreferrer">http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol-76</a></p></li> <li><p>Simple (insecure) way of running a flash policy server (Linux/UNIX with socat) is described here: <a href="http://github.com/kanaka/noVNC/blob/master/docs/flash_policy.txt" rel="noreferrer">http://github.com/kanaka/noVNC/blob/master/docs/flash_policy.txt</a></p></li> <li><p>More info about the flash policy file: <a href="http://code.google.com/p/doctype/wiki/ArticleFlashSecurity" rel="noreferrer">http://code.google.com/p/doctype/wiki/ArticleFlashSecurity</a></p></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload