|
Softpanorama |
May the source be with you, but remember the KISS principle ;-)
|
| News | Telnet protocol | Recommended Links | Expect | Free SSH Windows clients |
| HyperTerm | Exceed HostExplorer | SSH | Serial Console on Solaris | sshfs |
| Password-less SSH login | Humor | Etc |
Currently Teraterm is probably the best client for Windows environment. It one of the few that understands middle mouse button and have some macro capabilities. The product has non-intuitive configuration and there is no history of visited sites. but generally functionality is very good.
The right site to download the latest version of Teraterm is Japanese sourceforge site: TeraTerm Open Source Project
Many older version are available on various sites. You should generally avoid them. That includes "bastard" version called TeraTerm Pro Web (abandonware; version 3.1.3, October 8, 2002. ttpro313.zip ).
Please note that many users try to reinvent the bicycle in a form of yet another macro language for terminal emulation. Expect is a more universal and often more powerful way of doing the same that frees you from the dependency of somebody design mistakes and the luck of understanding of compiler/interpreter technology. You should learn to use it on Unix. The efforts instantly pay for itself.
The teraterm.ini file contains all the configuration settings and parameters used by the application. You may modify the file directly in editor. or through the executable (teraterm.exe) by changing settings then saving the configuration via the Setup --> Save Setup... menu.
Modern versions of Teraterm keep the list recently visited hosts. That's a very convenient feature.
|
TeraTerm Support Forums View topic - First step to Tera Term Macros
SourceForge.jp Project File List
| 4.30 - [ Release Notes / Change Log ] | ||||
| teraterm_utf8_430.exe | 2.3 MB | 2028 | 2006-03-07 01:18 | fffba4dcdb1b210d582a2efd0604a282 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||
When you use the Solaris telnet command to log in from one site to another, don't forget that you can enter telnet's command mode at any time during your session, usually by entering the following key sequence:
[CTRL] ] (the control key and right-bracket key at the same time)
When this is successful, you'll see the following prompt:
telnet>
Then, from the "telnet>" prompt, enter "?" to learn more about the available telnet commands. A few commands that will give you more help at the prompt are shown below:
display displays many current Telnet settings
send ? displays commands you can "send" to the remote site
set ? displays variables that can be set
One of my favorites (mostly when fooling around) is:
send ayt
which means "send this message: are you there?".
TeraTerm Pro Web is the next generation tool for connecting with remote Telnet and SSH hosts. It is built based on the extremely popular open-source TeraTerm product put out by T. Teranishi in 1999 (click here for original site). In keeping with the original philosophy and spirit of the author, our modified version is completely free!!
Downloads TeraTerm Pro Web works on Windows 95/98, 2000, XP. Here are the latest TeraTerm Pro Web releases:
- version 3.1.3, October 8, 2002. ttpro313.zip
Background
As big-time fans of the original, we realized that there were a host of missing features that could make it immensely more useful, namely:
- Ability to connect via SSH2
- Allow recurring command to be sent to connected hosts (ie: "keep-alive")
- Enhance the TTMacro Language to allow ODBC connectivity and additional scripting functionality
- Have built in web server to accept HTTP requests that:
- Pass one or more commands to the connected Telnet/SSH Host
- Capture resulting text from host until one or more termination strings (or timeout) is detected, then...
- Pass captured text back to waiting browser or web server that initiated the request
- Provide various layers of authentication and encryption for the built-in web server including:
- Base64, MD5, and In-Request authentication
- Allow or require secure SSL communication
- Easy to maintain username & password files
- Provide HTTP listening on any IP/port combination
- Have template-based response and error files that could be easily modified
- Have comprehensive HTTP request logging
ShellTelnet is a Windows telnet client intended for use with a Unix/Linux shell account.
In addition to the classic telnet functionality, ShellTellnet introduces a new way of browsing Unix hosts. ShellTelnet allows the user to browse files and folders on a remote machine using the Windows Explorer interface.
ShellTelnet includes a hidden FTP client. It makes possible to transfer files without a use of slow and archaic utilities like Kermit and zmodem.
To use ShellTelnet you need a local Windows machine and a remote machine running Unix or Linux. It is assumed that the default shell on the remote machine is BASH.
Tera Term - Wikipedia, the free encyclopedia
What has been added to TeraTerm 3.1?
We have added a variety of features. Two of the most predominant changes are:
(1) Adding the ability to connect to SSH2 based hosts. To connect to a SSH
host, simply choose the SSH service radio button when connecting via the new
connection dialog box.
(2) Adding a built in web server to allow a remote web browser or web
application server (such as PHP, ColdFusion, WebSphere, ASP, etc) to send one or
more commands to the telnet or SSH host that TeraTerm is currently connected to.
The resulting text stream is captured and sent back to the calling web client
where it can then be parsed and processed.
Here's how to make it work:
Via HTTP GET
http://127.0.0.1:8080/get.htm?command1=xxx\n&termstring1=aaa|bbb|ccc&timeout1=5&command2=yyy\n&&termstring2=ddd|eee|fff&timeout2=10
In this web call, TeraTerm will send the command "xxx" (with a newline "\n") to the connected host. It will then wait and watch the host's text stream for one of the following termination strings, "aaa", "bbb", "ccc", OR 5 seconds to elapse (whichever comes first). (Please note that the delimiter for termstring's to watch for it the pipe character by default but can be changed in the configuration settings). Next, TeraTerm will pass the command "yyy" (with a newline) to the host and wait for termstrings "ddd", "eee", "fff", or 10 seconds to elapse (whichever comes first). It will then stop it's text stream capture and pass the entire captured block of text back to the calling web client. Please note that carriage returns will be escaped with a "\r", linefeeds with a "\n", tabs with a "\t" etc.
You may pass as many commands as you wish as long as an accompying termstring and timeout parameter is passed as well.
Via HTTP POST
You may issue the same parameters via an HTTP POST instead of a GET if desired. The following HTML code demonstrates an example of passing the same data as the GET example above:
<FORM NAME="myform"
ACTION="http://127.0.0.1:8080/post.htm" METHOD="post">
<INPUT TYPE="hidden" NAME="command1" VALUE="xxx\n">
<INPUT TYPE="hidden" NAME="termstring1" VALUE="aaa|bbb|ccc">
<INPUT TYPE="hidden" NAME="timeout1" VALUE="5">
<INPUT TYPE="hidden" NAME="command2" VALUE="yyy\n">
<INPUT TYPE="hidden" NAME="termstring2" VALUE="ddd|eee|fff">
<INPUT TYPE="hidden" NAME="timeout2" VALUE="10">
<INPUT TYPE="submit" NAME="Submit" VALUE="Submit">
</FORM>
Obtaining the connection status of Tera Term
You may issue a status request to Tera Term to request the current connection status, which can optionally include the hostname and port it is connected to and the duration it has been connected. This is very useful since a web application may want to make sure Tera Term is connected before passing a GET or POST sequence of commands. Here is an example of how to call the status request:
http://127.0.0.1:8080/status.htm
You may modify the status template returned by specifying it in the configuration settings. Be sure that the variables %hostname%, %port% and %time% are included, as these will be replaced by the actual data when returned back to the calling HTTP client. If Tera Term is currently disconnected, the error template will be returned with the %error% variable set to "Not Connected"
Making Tera Term connect to a remote host
You, of course, can manually connect Tera Term to a remote Telnet or SSH host before issuing HTTP GET or POST command sequences to it. You can also have Tera Term connect to a remote host by calling a connect template, which is very useful for a web application to programmatic cause Tera Term to connect to a remote host. Example:
http://127.0.0.1:8080/connect.htm?hostname=www.foo.com&port=23
This will cause Tera Term to connect to the remote host. If unable to connect, the error template will be returned with the appropriate error message swapped with the %error% variable. Please note that at this time you are unable to use this template to connect to a SSH host. Connecting to a SSH host will still have to be done manually.
Making Tera Term disconnect from a remote host
You can cause Tera Term to disconnect from it's currently connected host by issuing a call to the disconnect template as follows:
http://127.0.0.1:8080/disconnect.htm
Please note that the ability to call this can be disabled in the configuration settings, if desired.
Authentication
Authentication can be set in the configuration file as required to prevent unauthorized passing of commands to a remote telnet host via Tera Term. Unfortunately, documentation regarding forms and methods of authenticating these requests will not be available until the full documentation set is released. Please check the Ayera website (http://www.ayera.com) frequently for an update.
TeraTerm Pro Web is the next generation tool for connecting with remote Telnet and SSH hosts. It is built based on the extremely popular open-source TeraTerm product put out by T. Teranishi in 1999 (click here for original site). In keeping with the original philosophy and spirit of the author, our modified version is completely free!!
Downloads TeraTerm Pro Web works on Windows 95/98, 2000, XP. Here are the latest TeraTerm Pro Web releases:
- version 3.1.3, October 8, 2002. ttpro313.zip
Background
As big-time fans of the original, we realized that there were a host of missing features that could make it immensely more useful, namely:
- Ability to connect via SSH2
- Allow recurring command to be sent to connected hosts (ie: "keep-alive")
- Enhance the TTMacro Language to allow ODBC connectivity and additional scripting functionality
- Have built in web server to accept HTTP requests that:
- Pass one or more commands to the connected Telnet/SSH Host
- Capture resulting text from host until one or more termination strings (or timeout) is detected, then...
- Pass captured text back to waiting browser or web server that initiated the request
- Provide various layers of authentication and encryption for the built-in web server including:
- Base64, MD5, and In-Request authentication
- Allow or require secure SSL communication
- Easy to maintain username & password files
- Provide HTTP listening on any IP/port combination
- Have template-based response and error files that could be easily modified
- Have comprehensive HTTP request logging
Copyright © 1996-2008 by Dr. Nikolai Bezroukov. www.softpanorama.org was created as a service to the UN Sustainable Development Networking Programme (SDNP) in the author free time. Submit comments This document is an industrial compilation designed and created exclusively for educational use and is placed under the copyright of the Open Content License(OPL). Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.
Standard disclaimer: The statements, views and opinions presented on this web page are those of the author and are not endorsed by, nor do they necessarily reflect, the opinions of the author present and former employers, SDNP or any other organization the author may be associated with. We do not warrant the correctness of the information provided or its fitness for any purpose.
Last modified: June 05, 2008