Web-Based Java SSH Client

June 17th, 2008 · No Comments

Following up on my last post about SSH, I’ve found some Java SSH Clients I’d like to share with you. As opposed to SSH client softwares, a Java SSH Client doesn’t need to be installed on your computer. Instead you just need to access a web page from which the Java SSH client will be launched.

The advantage is that you can connect to your web server through SSH from any computer connected to the Internet.

If you are using cPanel then you may already know that there’s a Java SSH Client available:

cPanel Java SSH Client

But if you don’t have a web-based SSH client available, here’s how to get one and install it:

  1. Download a copy of MindTerm at http://www.appgate.com/products/80_MindTerm. MindTerm is a free SSH client that supports SSH 1 and SSH 2 protocols and it is written in pure Java.
  2. Extract the content from the archive into a temporary directory onto your hard drive.
  3. Using a FTP client like Filezilla, connect to your web server and create a directory named “ssh” at the root of your website (you can name it something else than “ssh”).
  4. Upload the file “mindterm.jar” you’ve just extracted from the archive into this directory (using FTP of course!).
  5. Using Notepad (or any non-formating text editor), create a new empty file and insert the following content:
    <html>
    <body>
      <APPLET CODE="com.mindbright.application.MindTerm.class"
              ARCHIVE="mindterm.jar" WIDTH=0 HEIGHT=0>
        <PARAM NAME="cabinets" VALUE="mindterm.cab">
        <PARAM NAME="sepframe" value="true">
        <PARAM NAME="debug" value="true">
      </APPLET>
    </body>
    </html>
  6. Save this file as “index.html” and upload it to your web server in the same directory where you uploaded “mindterm.jar”.
  7. Open your web browser to http://www.yourwebsite/ssh

You should now have a web-based SSH client running. You will then be prompted to enter a hostname or IP address of the SSH server you want to connect to.

One needs to understand that the Java applet is running on your computer and not on the server. Therefore the same connectivity limitations as your computer will apply to your SSH client. In other words, a Java SSH client is of no use if you’re behind a firewall that doesn’t allow connections on port 22.

0 responses so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment




Posted in Misc · Tutorials | No Comments

Dedicated Servers
 
VPS
Website Hosting
 

Recent Comments

Recent Webmasters

Hosting Type :
Monthly Price :
Storage :
Transfer :
Sort By :
Search