296 lines
6.8 KiB
HTML
296 lines
6.8 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>MindTerm over the web</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
|
|
"><LINK
|
|
REL="HOME"
|
|
TITLE="Encrypted Tunnels using SSH and MindTerm HOWTO"
|
|
HREF="index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Creating the tunnels"
|
|
HREF="creating-tunnels.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Security considerations"
|
|
HREF="security.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Encrypted Tunnels using SSH and MindTerm HOWTO</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="creating-tunnels.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
></TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="security.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="MINDTERM-WEB"
|
|
>6. MindTerm over the web</A
|
|
></H1
|
|
><P
|
|
>MindTerm can be used over the web as well. Users don't have to download the application. Simply copy the <TT
|
|
CLASS="FILENAME"
|
|
>mindtermfull.jar</TT
|
|
> 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 <TT
|
|
CLASS="FILENAME"
|
|
>mindterm</TT
|
|
> under your web directory. Copy the <TT
|
|
CLASS="FILENAME"
|
|
>mindtermfull.jar</TT
|
|
> file, that was used above, into the web directory folder <TT
|
|
CLASS="FILENAME"
|
|
>mindterm</TT
|
|
>. Then add the file <TT
|
|
CLASS="FILENAME"
|
|
>index.html</TT
|
|
> to the directory with the following content (snipped from the <TT
|
|
CLASS="FILENAME"
|
|
>README</TT
|
|
>):</P
|
|
><P
|
|
CLASS="LITERALLAYOUT"
|
|
><EM
|
|
><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></EM
|
|
></P
|
|
><P
|
|
>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:</P
|
|
><P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
><applet archive="mindtermfull.jar"
|
|
code=mindbright.application.MindTerm width=700 height=400></PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></P
|
|
><P
|
|
>to:</P
|
|
><P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
><applet archive="mindtermfull.jar"
|
|
code=com.mindbright.application.MindTerm width=700 height=400></PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></P
|
|
><P
|
|
>Only the <EM
|
|
>com.</EM
|
|
> needs to be added to the applet parameter <EM
|
|
>code=</EM
|
|
>. So the code below will be changed to:</P
|
|
><P
|
|
><TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><FONT
|
|
COLOR="#000000"
|
|
><PRE
|
|
CLASS="PROGRAMLISTING"
|
|
><applet archive="mindterm_ns.jar" code=com.mindbright.application.MindTerm.class width=1
|
|
height=1></PRE
|
|
></FONT
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></P
|
|
><P
|
|
>Browse to the location of the directory in your web browser <EM
|
|
>(http://<yourserver name>/mindterm/index.html)</EM
|
|
>, be sure to have Java enabled in your browser and you should be able to login into the server now.</P
|
|
><P
|
|
>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 <TT
|
|
CLASS="FILENAME"
|
|
>mindterm_ns.jar</TT
|
|
> file to the <TT
|
|
CLASS="FILENAME"
|
|
>mindterm</TT
|
|
> directory under your webserver. Now add a file named <TT
|
|
CLASS="FILENAME"
|
|
>standapplet.html</TT
|
|
> to the <TT
|
|
CLASS="FILENAME"
|
|
>mindterm</TT
|
|
> directory and add the following code to start MindTerm as a separate client to create tunnels. (<EM
|
|
>NOTE: The archive contains an applet for both netscape and Explorer</EM
|
|
>)</P
|
|
><P
|
|
CLASS="LITERALLAYOUT"
|
|
><EM
|
|
><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></EM
|
|
></P
|
|
><P
|
|
>Now browse to the location of the directory in your web browser <EM
|
|
>(http://<lt;yourserver name>/mindterm/standapplet.html)</EM
|
|
>. 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 <EM
|
|
>Tunnels</EM
|
|
> menu as explained above. The <TT
|
|
CLASS="FILENAME"
|
|
>README</TT
|
|
> 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 <B
|
|
CLASS="COMMAND"
|
|
>File</B
|
|
> and then <B
|
|
CLASS="COMMAND"
|
|
>Save</B
|
|
> so it keeps the tunnels that you have created when you log in again.</P
|
|
><P
|
|
>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 <A
|
|
HREF="mailto:sales@mindbright.se"
|
|
TARGET="_top"
|
|
>sales department</A
|
|
> at MindBright to obtain a crytographic signature for your organization. That is, if it is needed.</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="creating-tunnels.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="security.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Creating the tunnels</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
> </TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Security considerations</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |