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?

link|improve this question

4  
I sincerely hope not. – Tom O'Connor Dec 29 '11 at 12:32
@TomO'Connor Why? – Poma Dec 29 '11 at 12:38
1  
The concept scares the bejesus outta me. – Tom O'Connor Dec 29 '11 at 12:41
1  
This is why it scares the bejesus out of you: matasano.com/articles/javascript-cryptography 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
2  
@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
show 1 more comment
feedback

3 Answers

up vote 1 down vote accepted

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

link|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
feedback

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.

GateOne

link|improve this answer
feedback

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

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

Your Answer

 
or
required, but never shown

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