Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 am creating a webpage which contains a lot of links to various devices and IP addresses. The requirement is such that when you click on any of the links in the webpage, it should open a telnet/ssh session to that device. I am able to do some registry changes and make the session open in a separate client like putty. But is there a way to open the session directly in the browser itself?

Thanks, Guna

share|improve this question
Sounds like you need a browser add-on to connect to putty. Does not sound like something that should be allowed (at least be default). – soandos Jun 2 '11 at 15:35
have a search for web based SSH – steve Jun 2 '11 at 15:39

You could host a client server side, e.g. using Anyterm or Ajaxterm.

share|improve this answer

Theoretically it's possible to implement an SSH client directly in JavaScript. Something like PuTTY but running directly in your browser. Unfortunately I've personally not seen such a tool and it would likely be quite slow (doing all SSH encryption within JavaScript).

I know some related projects which usually go a slightly different way. They use a JavaScript/AJAX based client in your browser to connect to a terminal proxy server:

Alternatively you might be able to register specific protocol handlers on your systems which allow you to launch an existing terminal emulator like PuTTY. See this site for some information on how to do this with Firefox.

After registering a protocol (e.g. console://) then you should be able to just insert links like console:// in your HTML documents in order to allow clients with properly registered console:// protocol handler to connect by launching the local PuTTY terminal emulator with correct parameters.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .