Introduction to TELNET (original) (raw)

Last Updated : 15 Jul, 2025

**TELNET stands forTeletype Network. It is a **client/server application protocol that provides access to virtual terminals of remote systems on local area networks or the Internet. The local computer uses a telnet client program and the remote computers use a telnet server program. In this article, we will discuss every point about TELNET.

What is Telnet?

**TELNET is a type of protocol that enables one computer to connect to the local computer. It is used as a standard **TCP/IP protocol for virtual terminal service which is provided by **ISO. The computer which starts the connection is known as the local computer. The computer which is being connected to i.e. which accepts the connection known as the **remote computer. During telnet operation, whatever is being performed on the remote computer will be displayed by the local computer. Telnet operates on a client/server principle.

History of TELNET

The **Telnet protocol originated in the late 1960s, it was created to provide remote terminal access and control over mainframes and minicomputers. Initially, it was designed to be a simple and secure method of connecting to a remote system. This protocol allowed users to access remote computers using a terminal or command-line interface. Over time, Telnet’s use has diminished due to security concerns, and alternatives like **SSH are now preferred for secure remote management

Logging in TELNET

The logging process can be further categorized into two parts:

**1. Local Login

Whenever a user logs into its local system, it is known as local login.

Local Login

Local Login

**The Procedure of Local Login

**2. Remote Login

Remote Login is a process in which users can log in to a remote site i.e. computer and use services that are available on the remote computer. With the help of remote login, a user is able to understand the result of transferring the result of processing from the remote computer to the local computer.

Remote Login

Remote Login in Logging

**The Procedure of Remote Login

Network Virtual Terminal(NVT)

NVT (Network Virtual Terminal) is a virtual terminal in TELNET that has a fundamental structure that is shared by many different types of real terminals. NVT (Network Virtual Terminal) was created to make communication viable between different types of terminals with different operating systems.

Network Virtual Terminal(NVT) in Telnet

Network Virtual Terminal(NVT) in Telnet

How TELNET Works?

**TELNET Commands

Commands of Telnet are identified by a prefix character, Interpret As Command (IAC) with code 255. IAC is followed by command and option codes. The basic format of the command is as shown in the following figure :

Telnet command format

TELNET Command Format

Following are some of the important TELNET commands:

Character Decimal Binary Meaning
WILL 251 11111011 1. Offering to enable. 2. Accepting a request to enable.
WON'T 252 11111100 1. Rejecting a request to enable. 2. Offering to disable. 3. Accepting a request to disable.
DO 253 11111101` 1. Approving a request to enable. 2. Requesting to enable.
DON'T 254 11111110 1. Disapproving a request to enable. 2. Approving an offer to disable. 3. Requesting to disable.

Following are some common optionsused with the telnet:

Code Option Meaning
0 Binary It interprets as 8-bit binary transmission.
1 Echo It will echo the data that is received on one side to the other side.
3 Suppress go ahead It will suppress go ahead signal after data.
5 Status It will request the status of TELNET.
6 Timing mark It defines the timing marks.
8 Line width It specifies the line width.
9 Page size It specifies the number of lines on a page.
24 Terminal type It set the terminal type.
32 Terminal speed It set the terminal speed.
34 Line mode It will change to the line mode.

Uses of TELNET

Advantages of TELNET

Disadvantages of TELNET

**Modes of Operation

Conclusion

Telnet is a client/server application protocol that allows remote access to virtual terminals via local area networks or the internet. Telnet's use has decreased due to security concerns, with protocols such as SSH chosen for safe remote management. Telnet is still useful for remote administration, network diagnostics, instructional purposes, and interacting with legacy systems.