This is useful for those who want to learn how to use telnet.
Introducing Telnet:
Telnet is a utility that allows one computer to establish connection to another computer. The computer that establishes the connection is referred to as local computer. The computer accepting the connection is referred to as remote or host computer. It allows you to log on to a remote computer, facilitating access to programs, data and any other resources available on the host computer.
It is a terminal emulation program for TCP/IP networks like the Internet. When the client computer establishes a connection with the server computer, you can enter commands through the telnet program and these will be executed on the server. Thus you can control the server and also communicate with other servers on the network.
How to use it? :
1. Open the Telnet program by either from the command line or from the Windows directory.
2. On the Connect menu, click Remote System.
3. In Host Name, type or select the name of the remote system you want to connect to.
4. In Port, type or select the port or service.
5. In Term Type, type or select a string to be used if your host uses Term Type sub negotiation.
If you have a shell account then you can make a connection to it by typing the URL in place of Host Name. A shell account is basically a Unix terminal where you can run applications and do other cool stuff. It would be the best way to learn Telnet and Unix. You should contact your ISP to find more about your shell account.
You can also try telnetting to an FTP server. You can use the facilities of FTP to download files and do other stuff. If you want to connect to an FTP server then type in the name of the FTP site e.g. ftp.yourftpsite.com in the host name and in the port field type in 21. Port 21 is used for FTP service. After doing all that click ‘Connect.’
ISP’s usually have an FTP server that you can access. If your ISP has one then you can access it by typing the domain of your ISP in the host field and type in the port as 21.
If you connect to an FTP server, you will see a prompt with the daemon name and version. A daemon is a program that runs on a remote computer and manages a particular service.
You would be asked to input your username and password. Type in Anonymous as the Username and your e-mail address as the Password for anonymous login. The e-mail address is provided as a courtesy to the webmaster or the owner of the FTP server.
Services :
Try out the following ports:
Services Port Description
FTP - 21 FTP port
Telnet - 23 The default telnet port. This is used for system admin.
Mail - 25 This port is for sending-mail, the Unix mail-sending daemon.
Finger - 79 Used for 'fingering' email accounts, which gives you info on people who have email
accounts on that server.
HTTP - 80 HTTP port used to browse web sites.
POP3 - 110 The port in charge of the daemon to receive mail. Contrast this with 25, the port for
the sending-mail daemon. Don't confuse the two.
News - 119 The port in charge of the news daemon.
Some Tips:
1. You can copy all the text in the Telnet window from the Edit Menu by selecting all and copying.
2. You can change the font by clicking on the Terminal Menu and then in the Preferences click Fonts.
3. You can also change the background color by clicking Background Color in the Preferences.
4. You can set the terminal emulation in the Preferences. If you don’t know which terminal emulation to use then you can use VT-100 (ANSI).
5. You can set the buffer size in order to see the previous lines by scrolling to the top. If you want to see more lines then you can increase the buffer size. The range is usually between 25 to 399.
6. You can enable terminal logging. This is used to capture the screen output of a Telnet session to a text file.
Reference:
Telnet Documentation
Warlock’s Tutorial and
Ashar’s Tutorial
