Encrypted Tunnels using SSH and MindTerm HOWTO
Prev |  | Next

# 6. MindTerm over the web

MindTerm can be used over the web as well. Users don't have to download the application. Simply copy the `mindtermfull.jar` file to a directory into a web directory and the users can simply use it as a built-in application or as a stand-alone java applet. For example, create a folder named `mindterm` under your web directory. Copy the `mindtermfull.jar` file, that was used above, into the web directory folder `mindterm`. Then add the file `index.html` to the directory with the following content (snipped from the `README`):

<html> <head></head> <body> <applet archive="mindtermfull.jar" code=mindbright.application.MindTerm width=700 height=400> <param name=server value="<yourserver name>"> <param name=port value="22"> <param name=cipher value="blowfish"> <param name=te value="xterm-color"> </applet> </body> </html>

MindTerm 2.0 is now available. The argument to start the web applet has changed slightly. Instead of the applet parameter above, and the code example below, change the line:

    <applet archive="mindtermfull.jar"
    code=mindbright.application.MindTerm width=700 height=400>

to:

    <applet archive="mindtermfull.jar"
    code=com.mindbright.application.MindTerm width=700 height=400>

Only the com. needs to be added to the applet parameter code=. So the code below will be changed to:

    <applet archive="mindterm_ns.jar" code=com.mindbright.application.MindTerm.class width=1
    height=1>

Browse to the location of the directory in your web browser (http://<yourserver name>/mindterm/index.html), be sure to have Java enabled in your browser and you should be able to login into the server now.

In order to create tunnels the most recent version of MindTerm has to be downloaded from the MindBright website, version 1.99. That archive contains a signed applet by MindBright that can be used in your web page to create tunnels as explained above. After you have downloaded the latest version, add the `mindterm_ns.jar` file to the `mindterm` directory under your webserver. Now add a file named `standapplet.html` to the `mindterm` directory and add the following code to start MindTerm as a separate client to create tunnels. (NOTE: The archive contains an applet for both netscape and Explorer)

<html> <head></head> <body> <applet archive="mindterm_ns.jar" code=mindbright.application.MindTerm.class width=1 height=1> <param name=server value="<yourserver name>"> <param name=port value="22"> <param name=cipher value="blowfish"> <param name=sepframe value="true"><!-- wheter to run in a separate frame or not --> <param name=autoprops value="both"><!-- enable/disable automatic save/load of settings --> </applet> </body> </html>

Now browse to the location of the directory in your web browser (http://<lt;yourserver name>/mindterm/standapplet.html). This will start MindTerm as a standalone java applet, the same as if it was started from the commandline. Tunnels can be created using the applet tags so that users don't have to do anything but browse to the page and then login. Then they would access their services just as explained in the above examples. They can, however, create their own tunnels or new tunnels from the Tunnels menu as explained above. The `README` that comes with the MindTerm zip archive has many more applet parameters that can be added. As you create tunnels you can then click on File and then Save so it keeps the tunnels that you have created when you log in again.

A couple of security notes here are you can't connect to another server using the initial login applet. You can only login to the server where the applet is located. However, after you have logged in successfully you can then log in to other servers from the command line. Also, this MindTerm applet is signed by MindBright so you need to contact the sales department at MindBright to obtain a crytographic signature for your organization. That is, if it is needed.

Prev | Home | Next
Creating the tunnels |  | Security considerations