Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

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

share|improve this answer
add comment

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://192.168.1.1 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
add comment

Your Answer

 
discard

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.