Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I mean pure javascript client that uses HTML5 sockets and doesn't need to be installed, just open single js file in browser. Is it possible to write such client at all?

share|improve this question
I sincerely hope not. – Tom O'Connor Dec 29 '11 at 12:32
The concept scares the bejesus outta me. – Tom O'Connor Dec 29 '11 at 12:41
This is why it scares the bejesus out of you: Even if it is possible to write an SSH client in Javascript, it is not possible to write a secure SSH client in javascript. – Ladadadada Dec 29 '11 at 13:08
@Ladadadada From my reading of that article, a JS SSH client would be fine as long as it and the page it's on were delivered via SSL. – ceejayoz Dec 29 '11 at 15:06
Even if the code is delivered over SSL, you can't generate or store keys securely in javascript so doing the crypto for SSH would be pointless. Implementing telnet-over-ssl in javascript may be possible to do securely and may also be worthwhile if it solves Poma's problem. – Ladadadada Dec 29 '11 at 17:54
up vote 2 down vote accepted

Not pure HTML5, but there are other online (html/js/css based)

share|improve this answer
Firessh is a Firefox plugin, which means it has access to true random numbers from your OS. More secure than pure javascript can be but no good if you can't install plugins or aren't using Firefox. Webshell involves installing a Python script on your server to accept the AJAX requests. Very similar to GateOne in Bart's answer. Must use SSL for encryption. sshterm is a free ssl-to-ssh proxy. All your passwords go through someone else's server where they are decrypted from the SSL and then used for the SSH connection to your server. I would not recommend this option. – Ladadadada Dec 29 '11 at 18:08

Not in JavaScript that I know off, but you can run a python script on the server that will provide you with an ssh-shell in a browser.


share|improve this answer

Not javascript, but there's at least one java ssh applet.

share|improve this answer
Has not been updated since 2005. – Bart De Vos Dec 29 '11 at 17:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.