SSH with a Web Browser

, Add comments

A while back, I was using someone’s computer and I wanted to SSH into my server. The machine didn’t have any SSH client and I didn’t have my U3 Smart Drive with me.

MindTerm is a client that implements the SSH protocols written in Java which can run as an Applet. The basic syntax for embedding the MindTerm Applet in a web page is as follows:

<APPLET CODE="com.mindbright.application.MindTerm.class"
      ARCHIVE="mindterm.jar" WIDTH="400" HEIGHT="400">
    <PARAM NAME="cabinets" VALUE="mindterm.cab">
    <PARAM NAME="sepframe" value="true">
    <PARAM NAME="debug" value="true">
</APPLET>

Due to the Java security model, the Applet requires to be sign, otherwise it won’t run properly and throw an AccessControlException, as shown in the Java console.

MindTerm AccessControlException

For information on how to sign an Applet refer to Signing Java Applets Using RSA Certificate. After the Applet has been successfully signed a pop up will appear asking to accept the digital signature, and when accepted the Applet will have permission to run properly; this can be verify with the Java console again.

MindTerm Digital Signature

MindTerm Granted Permission

Now you can SSH from any computer that has a web browser and internet access.

MindTerm Applet

For more information refer to Running MindTerm as an Applet

Related posts:

  1. Setting Up Log4j Quickstart Guide
  2. Signing Java Applets Using RSA Certificate
  3. Problem using MySQL JDBC on Tomcat 5.5 and Ubuntu 8.04
  4. Monitoring CPU and Hard Drive Temperature on Xubuntu
  5. Sending Email with Ant

One Response to “SSH with a Web Browser”

  1. vincentkong.com » Blog Archive » SSH with Ajaxterm Says:

    [...] a year ago I wrote about SSHing with a web browser using MindTerm.  This was good, if the network allows traffic via  the SSH port, and nowadays [...]

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in