Telnet Tutorial

Telnet is a program that lets you connecrt to a remote computer with very
limited software requirments, thorugh a prompt very similar to cmd.exe. It is
also very simple to use after you get the hang of it.

To get to telnet click Start--> Run--> Telnet, and a prompt similar to that of
command.com and cmd.exe will appear.

The commands may be abbriviated and they are...

--------------------------------------------------------
|Command  | Shortcut | Description                     |
--------------------------------------------------------
|Close    |  C       | Closes the current connection   |
|Display  |  D       | Displays operating parameters   |
|Open     |  O       | Connects to a specified hostname|
|Quit     |  Q       | Exits telnet prompt             |
|Set      |  ---     | Set options                     |
|Send     |  Sen     | Send strings to a server        |
|Status   |  St      | Print statues information       |
|Unset    |  U       | Unset options                   |
|Help     |  ? or H  | Print help information          |
--------------------------------------------------------

The commands that will be used the most and are not complely self explanitory
are as follows...

Open -- The open command is used to tell the prompt which IP address/Hostname
you want to connect to and what port you want to connect to on the remote
machine. If you don't type a port then you will attempt to connect to the
default port, which is port 23 (Telnet Server)

***Syntax***
Microsoft Telnet>open [Hostname] [Port]
************

***Note***
You do not type [hostname:port] like most other applications
**********

Set -- The set command lets you set the options for the current telnet windows.
The options that you provide through the set command are not kept after you
close the prompt so make sure to set them each time you start telnet.

***Syntax***
set [\\RemoteMachine] [ntlm] [localecho] [term {ansi | vt100 | vt52 | vtnt}]
[escape Character] [logfile FileName] [logging] [bsasdel] [crlf] [delasbs]
[mode {console | stream}] [?]
************

***Parameters***
The parameters are the options you set...
\\Remotemachine -- Specifies the computer you want to set the options for. We
will cover this at a later time.

ntlm -- Turns on/off the Windoze NT Lan Manager

localecho -- Turns the local echo on/off

term {ansi | vt100 | vt52 | vtnt} -- Specifies the type of terminal you want to
use.

escape Character -- Sets the charactr you want to use to close the telnet
connecton. It's mostly like a shortcut of the close command.

logfile FileName -- This lets you set where you want to log the telnet activity.
It must be used with the parameter, logging.

logging -- Turns logging on/off. You must have the logfile set before you use
this parameter.

bsasdel -- Makes the back space key work as if it were delete (not vice-versa)

crlf -- When htis is set, while connected to a remote machine the return key
will make a new line instead of executing the command. When this parameter is
set you will not be able to execute any commands and there is no use in making a
new line so this command is completely pointless.

delasbs -- Here's where you can set delete as backspace. Just like the parameter
bsasdel except vice-versa.

mode {console | stream} -- This sets whether you want to use consol mode or
stream mode.

? -- Prints the parameters for the set command
****************

***Tip***
Use the unset command to undo parameters that you set with the set command.
*********

Now that we have that over with, we can learn how to use telnet. The command you
will use the most will definatelly be the open command.

***Demonstration***
Type --
Microsoft Telnet>o bkjkhker.no-ip.org 80
connecting.....
(you will see a flashing unerscore "_" at the top sometimes when you connect to
a computer on port 80)

now type--
GET /index.htm.en http/1.1

You should get the source of a completely useless page I have been meaning to
take down for months but havent got around to it yet :-) If you cant connect to
it then I have finally remembered to take it down :-)
*******************

I won't get into all the diferent ports that you can connect to and what to do
while your connected in this tutorial but I may include them in an up-coming
tutorial. I hope this tutorial has helped you!!




********************************************************************************
******************gopher://sdf.lonestar.org/11/users/bkjkhker*******************
*******************************Copyright(c) 2007********************************
*This was made for educational purposes only and I (Jeremy Overman) am not     *
*responsable for anything you do with this informatoin. This document may be   *
*published elsewhere or be printed as long as it is not altered and full credit*
*is given to me. [email protected]                                     *
********************************************************************************