All Topics  
TELNET

 

   Email Print
   Bookmark   Link






 

TELNET



 
 
Telnet (Telecommunication network) is a network protocol used on the Internet
Internet

The Internet is a global network of interconnected computers, enabling users to share information along multiple channels. Typically, a computer that connects to the Internet can access information from a vast array of available server and other computers by moving information from them to the computer's local memory....
 or local area network (LAN)
Local area network

A local area network is a computer network covering a small physical area, like a home, office, or small group of buildings, such as a school, or an airport....
 connections. It was developed in 1969 beginning with RFC 15 and standardized as IETF
Internet Engineering Task Force

The Internet Engineering Task Force develops and promotes Internet standards, cooperating closely with the World Wide Web Consortium and International Organization for Standardization/International Electrotechnical Commission standard bodies and dealing in particular with standards of the TCP/IP and Internet protocol suite....
 STD 8
STD 8

Two Internet Engineering Task Force Internet standards proposed by Jonathan B. Postel and J.K. Reynolds from University of Southern California Information Sciences Institute in their Request for Comments published in May 1983....
, one of the first Internet standards. Typically, Telnet provides access to a command-line interface on a remote machine.

The term telnet also refers to software which implements the client part of the protocol.






Discussion
Ask a question about 'TELNET'
Start a new discussion about 'TELNET'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Telnet (Telecommunication network) is a network protocol used on the Internet
Internet

The Internet is a global network of interconnected computers, enabling users to share information along multiple channels. Typically, a computer that connects to the Internet can access information from a vast array of available server and other computers by moving information from them to the computer's local memory....
 or local area network (LAN)
Local area network

A local area network is a computer network covering a small physical area, like a home, office, or small group of buildings, such as a school, or an airport....
 connections. It was developed in 1969 beginning with RFC 15 and standardized as IETF
Internet Engineering Task Force

The Internet Engineering Task Force develops and promotes Internet standards, cooperating closely with the World Wide Web Consortium and International Organization for Standardization/International Electrotechnical Commission standard bodies and dealing in particular with standards of the TCP/IP and Internet protocol suite....
 STD 8
STD 8

Two Internet Engineering Task Force Internet standards proposed by Jonathan B. Postel and J.K. Reynolds from University of Southern California Information Sciences Institute in their Request for Comments published in May 1983....
, one of the first Internet standards. Typically, Telnet provides access to a command-line interface on a remote machine.

The term telnet also refers to software which implements the client part of the protocol. Telnet clients are available for virtually all computer platforms
Platform (computing)

In computing, a platform describes some sort of hardware architecture or software framework , that allows Computer software to run. Typical platforms include a computer's Computer architecture, operating system, programming languages and related runtime libraries or graphical user interface....
. Most network equipment and OS
Operating system

An operating system is an interface between hardware and applications; it is responsible for the management and coordination of activities and the sharing of the limited resources of the computer....
es with a TCP/IP stack support some kind of Telnet service server for their remote configuration (including ones based on Windows NT
Windows NT

Windows NT is a family of operating systems produced by Microsoft, the first version of which was released in July 1993. It was originally designed to be a powerful high-level-language-based, processor-independent, multiprocessing, multiuser operating system with features comparable to Unix....
). Because of security issues with Telnet, its use has waned in favor of SSH
Secure Shell

Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for TELNET and other Computer security remote Shell s, which send information, notably passwords, in...
 for remote access.

"To telnet" is also used as a verb
Verb

In syntax, a verb is a word that usually denotes an action , an occurrence , or a state of being . Depending on the language, a verb may vary in form according to many factors, possibly including its grammatical tense, grammatical aspect, grammatical mood and grammatical voice....
, meaning to establish an interactive connection with the Telnet protocol. For example, a common directive might be: "To change your password, telnet to the server, login and run the passwd
Passwd (command)

passwd is a tool on most Unix and Unix-like operating systems used to change a user's password. The passwd entered by the user is run through a key derivation function to create a hash function of the new password, which is saved....
 command.
" Most often, a user will be telnetting to a Unix-like
Unix-like

A Unix-like operating system is one that behaves in a manner similar to a Unix system, while not necessarily conforming to or being certified to any version of the Single UNIX Specification....
 server system or a network device such as a router and obtain a login prompt to a command line text interface or a character-based full-screen manager.

On many systems, a Telnet client application may also be used to make interactive raw-TCP
Transmission Control Protocol

The Transmission Control Protocol is one of the core protocols of the Internet Protocol Suite. TCP is so central that the entire suite is often referred to as "TCP/IP"....
 sessions. It is commonly believed that a Telnet session which does not use the IAC (character 255) is functionally identical. This is not the case however due to special NVT (Network Virtual Terminal) rules such as the requirement for a bare CR (ASCII 13) to be followed by a NULL (ASCII 0).

Protocol details

Telnet is a client-server protocol
Client-server protocol

In computing, a client-server protocol is a protocol in which there is a single Server which listens for telecommunications circuit, usually on a specific TCP and UDP port , and one or more client which connect to it....
, based on a reliable
Reliability (computer networking)

In computer networking, a reliable protocol is one that provides reliability properties with respect to the delivery of data to the intended recipient, as opposed to an unreliable protocol, which does not provide notifications to the sender as to the delivery of transmitted data....
 connection-oriented
Connection-oriented

In telecommunications, connection-oriented describes a means of transmitting data in which the devices at the end points use a preliminary protocol to establish an end-to-end connection before any data is sent, and in which data is sent over the same path during the communication....
 transport. Typically this protocol is used to establish a connection to TCP
Transmission Control Protocol

The Transmission Control Protocol is one of the core protocols of the Internet Protocol Suite. TCP is so central that the entire suite is often referred to as "TCP/IP"....
 port
TCP and UDP port

In computer networking, a port is an application-specific or process-specific software construct serving as a communications endpoint used by Transport layer protocols of the Internet protocol suite such as Transmission Control Protocol and User Datagram Protocol ....
 23, where a getty
Getty (Unix)

getty short for "get teletype", is a Unix program running on a host computer that manages physical or virtual Computer_terminal . When it detects a connection, it prompts for a username and runs the 'logging ' program to authenticate the user....
-equivalent program (telnetd) is listening, although Telnet predates TCP/IP and was originally run on NCP
Network Control Program

The ARPANET Network Control Program provided the middle layers of the protocol stack running on an ARPANET host computer. NCP provided connections and flow control between processes running on different ARPANET host computers....
.

Before March 5th, 1973, Telnet was an ad-hoc protocol with no official definition . Essentially, it used an 8-bit channel to exchange 7-bit ASCII data. Any byte with the high bit set was a special Telnet character. On March 5th, 1973, a meeting was held at UCLA where "New Telnet" was defined in two NIC documents: Telnet Protocol Specification, NIC #15372, and Telnet Option Specifications, NIC #15373. This new protocol, and not the old telnet protocol is what continues in use today.

The protocol has many extensions, some of which have been adopted as Internet standard
Internet standard

In computer network engineering, an Internet Standard is a normative specification of a technology or methodology applicable to the Internet. Internet Standards are created and published by the Internet Engineering Task Force ....
s. IETF standards STD 27 through STD 32 define various extensions, most of which are extremely common. Other extensions are on the IETF standards track as proposed standards.

Security

When Telnet was initially developed in 1969, most users of networked computers were in the computer departments of academic institutions, or at large private and government research facilities. In this environment, security was not nearly as much of a concern as it became after the bandwidth explosion of the 1990s. The rise in the number of people with access to the Internet, and by extension, the number of people attempting to crack
Black hat

A black hat is the villain or bad guy, especially in a Western in which such a character would wear a black hat in contrast to the hero white hat....
 other people's server
Server (computing)

A server is a computer program that provides services to other computer programs , in the same or other computer. The physical computer that runs a server program is also often referred to as server....
s made encrypted alternatives much more of a necessity.

Experts in computer security
Computer security

Computer security is a branch of technology known as information security as applied to computers. The objective of computer security can include protection of information from theft or corruption, or the preservation of availability, as defined in the security policy....
, such as SANS Institute
SANS Institute

The SANS Institute, founded in 1989, provides computer security training, professional certification through GIAC , and a research archive - the SANS Reading Room....
, and the members of the comp.os.linux.security newsgroup
Newsgroup

A newsgroup is a repository usually within the Usenet system, for messages Posting style from many users in different locations. The term may be confusing to some, because it is usually a discussion group....
 recommend that the use of Telnet for remote logins should be discontinued under all normal circumstances, for the following reasons:

  • Telnet, by default, does not encrypt
    Encryption

    In cryptography, encryption is the process of transforming information using an algorithm to make it unreadable to anyone except those possessing special knowledge, usually referred to as a key ....
     any data sent over the connection (including passwords), and so it is often practical to eavesdrop on the communications and use the password later for malicious purposes; anybody who has access to a router
    Router

    A router is a Computer network device whose software and hardware are usually tailored to the tasks of routing and forwarding information. For example, on the Internet, information is directed to various paths by routers....
    , switch
    Network switch

    A network switch is a computer networking device that connects computer network Network segment.The term commonly refers to a Network bridge that processes and routes data at the Data link layer of the OSI model....
    , hub or gateway located on the network between the two hosts where Telnet is being used can intercept the packets passing by and obtain login and password information (and whatever else is typed) with any of several common utilities like tcpdump
    Tcpdump

    tcpdump is a common packet sniffer that runs under the command line. It allows the user to intercept and display TCP/IP and other packets being transmitted or received over a computer network to which the computer is attached....
     and Wireshark
    Wireshark

    Wireshark is a free packet sniffer computer Application software. It is used for computer network troubleshooting, analysis, software and communications protocol development, and education....
    .
  • Most implementations of Telnet have no authentication that would ensure communication is carried out between the two desired host
    Server (computing)

    A server is a computer program that provides services to other computer programs , in the same or other computer. The physical computer that runs a server program is also often referred to as server....
    s and not intercepted in the middle
    Man-in-the-middle attack

    In cryptography, the man-in-the-middle attack or bucket-brigade attack , sometimes Janus attack, is a form of active eavesdropping in which the attacker makes independent connections with the victims and relays messages between them, making them believe that they are talking directly to each other over a private connection when i...
    .
  • Commonly used Telnet daemon
    Daemon (computer software)

    In Unix and other computer computer multitasking operating systems, a daemon is a computer program that runs in the background , rather than under the direct control of a user; they are usually initiated as background Computer processes....
    s have several vulnerabilities discovered over the years.


These security-related shortcomings have seen the usage of the Telnet protocol drop rapidly, especially on the public Internet
Internet

The Internet is a global network of interconnected computers, enabling users to share information along multiple channels. Typically, a computer that connects to the Internet can access information from a vast array of available server and other computers by moving information from them to the computer's local memory....
, in favor of the ssh
Secure Shell

Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for TELNET and other Computer security remote Shell s, which send information, notably passwords, in...
 protocol, first released in 1995. SSH provides much of the functionality of telnet, with the addition of strong encryption to prevent sensitive data such as passwords from being intercepted, and public key authentication, to ensure that the remote computer is actually who it claims to be.

As has happened with other early Internet protocols, extensions to the Telnet protocol provide TLS
Transport Layer Security

Transport Layer Security and its predecessor, Secure Sockets Layer , are cryptographic protocols that provide security and data integrity for communications over Internet Protocol Suite networks such as the Internet....
 security and SASL
Simple Authentication and Security Layer

Simple Authentication and Security Layer is a framework for authentication and data security in Internet communications protocols. It decouples authentication mechanisms from application protocols, in theory allowing any authentication mechanism supported by SASL to be used in any application protocol that uses SASL....
 authentication that address the above issues. However, most Telnet implementations do not support these extensions; and there has been relatively little interest in implementing these as SSH is adequate for most purposes. The main advantage of TLS-Telnet would be the ability to use certificate-authority signed server certificates to authenticate a server host to a client that does not yet have the server key stored. In SSH, there is a weakness in that the user must trust the first session to a host when it has not yet acquired the server key.

Telnet 5250

IBM 5250 or 3270 workstation emulation is supported via custom telnet clients, TN5250/TN3270, and IBM servers
IBM System i

The IBM System i is IBM's previous generation of systems designed for IBM i users, and was subsequently replaced by the IBM Power Systems in April 2008....
. Clients and servers designed to pass IBM 5250
IBM 5250

IBM 5250, originally, was a particular model of a Computer terminal device sold with the IBM System/34 minicomputer system. Similar to the IBM 3270, it is a block-oriented terminal protocol, yet is incompatible with the 3270 standard....
 data streams over Telnet generally do support SSL encryption, as SSH does not include 5250 emulation. Under OS/400
OS/400

IBM i is an operating system used on IBM Power Systems, a unified server platform from the former IBM System i and IBM System p servers. IBM i was formerly known as i5/OS or OS/400....
, port 992 is the default port for secured telnet.

Current status

As of the mid-2000s, while the Telnet protocol itself has been mostly superseded for remote login, Telnet clients are still used, often when diagnosing problems, to manually "talk" to other services without specialized client software. For example, it is sometimes used in debugging network services such as an SMTP, IRC
Internet Relay Chat

Internet Relay Chat is a form of real-time Internet text messaging or synchronous conferencing. It is mainly designed for Many-to-many in discussion forums, called #Channels, but also allows One-to-one via instant messaging, as well as chat and data transfers via Direct Client-to-Client....
, HTTP, FTP or POP3 server, by serving as a simple way to send commands to the server and examine the responses.

This approach has limitations as what Telnet clients speak is close to, but not equivalent to, raw mode (due to terminal control handshaking and the special rules regarding \377 and \15). Thus, other software such as nc (netcat
Netcat

netcat is a computer networking utility for reading from and writing to network connections on either Transmission Control Protocol or User Datagram Protocol....
) or socat on Unix (or PuTTY
PuTTY

PuTTY is a terminal emulator application which can act as a client for the Secure Shell, Telnet, rlogin, and Transmission Control Protocol computing protocols....
 on Windows) are finding greater favor with some system administrators for testing purposes, as they can be called with arguments not to send any terminal control handshaking
Handshaking

In information technology, telecommunications, and related fields, handshaking is an automated process of negotiation that dynamically sets parameters of a communications channel established between two entities before normal communication over the channel begins....
 data. Also netcat does not distort the \377 octet, which allows raw access to TCP socket, unlike any standard-compliant Telnet software.

Telnet is popular with:
  • enterprise networks to access host applications, e.g. on IBM
    IBM

    International Business Machines Corporation, abbreviated IBM and nicknamed "Big Blue" , is a multinational corporation computer technology and consulting corporation headquartered in Armonk, New York, New York, United States....
     Mainframes
    Mainframe computer

    Mainframes are computers used mainly by large organizations for critical applications, typically bulk data processing such as census, industry and consumer statistics, Enterprise Resource Planning, and financial transaction processing....
    .
  • administration of network elements, e.g., in commissioning, integration and maintenance of core network
    Core network

    A core network is the central part of a telecom network that provides various Service to customers who are connected by the access network....
     elements in mobile communication networks.
  • MUD
    MUD

    In Online game, a MUD , pronounced /m?d/, is a multi-user real-time virtual world described entirely in text. It combines elements of role-playing games, hack and slash, interactive fiction, and online chat....
     games played over the Internet, as well as talker
    Talker

    Talkers are chat systems that people use to talk to each other over the Internet. Dating back to the 1980s, they were a predecessor of instant messaging....
    s, MUSH
    MUSH

    A MUSH is a text-based online social medium to which multiple users are connected at the same time. MUSH are often used for online social intercourse and role-playing games, although the first forms of MUSH do not appear to be coded specifically to implement gaming activity....
    es, MUCK
    Muck

    Muck can refer to:*Muck *Muck, Scotland, an island in Scotland*Muck , a number of actions *Muck , sorting out the rich ore from the poor rock in an underground metallic mine after blasting...
    s, MOO
    Moo

    Moo or MOO can refer to a wide variety of things.* An onomatopoeia imitating the sound made by a cattle*Molly Moo-Cow, an animated character dating from the 1930s...
    es, and the resurgent BBS
    Bulletin board system

    File:Monochrome-bbs.pngA Bulletin Board System, or BBS, is a computer system running list of BBS software that allows User to Telecommunication circuit and Logging to the system using a terminal program....
     community.
  • Internet game clubs, like the Internet Chess Club
    Internet Chess Club

    The Internet Chess Club is a commercial Internet chess server devoted to the play and discussion of chess and chess variants. ICC currently has over 30,000 subscribing members, and there are typically around 2,500 members logged on at any given time, including many internationally titled players....
    , the Free Internet Chess Server
    Free Internet Chess Server

    The Free Internet Chess Server is a volunteer-run Internet chess server. It was organized as a free alternative to the Internet Chess Club , after that site began charging for membership....
     and the Internet Go server
    Internet Go server

    An internet Go server is a server that allow players of the game of Go to play against other players online. The two fundamental types of Go server are real-time servers and turn-based servers....
    .
  • embedded system
    Embedded system

    An embedded system is a special-purpose computer system designed to perform one or a few dedicated functions, often with real-time computing constraints....
    s
  • Oxford University students and faculty members; it is still used as an interface for library catalogue searches, and many prefer it over more modern interfaces.


Related RFCs


Telnet clients

  • PuTTY
    PuTTY

    PuTTY is a terminal emulator application which can act as a client for the Secure Shell, Telnet, rlogin, and Transmission Control Protocol computing protocols....
     is a free, open source SSH
    Secure Shell

    Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for TELNET and other Computer security remote Shell s, which send information, notably passwords, in...
    , Telnet, rlogin
    Rlogin

    rlogin is a software utility for Unix-like computer operating systems that allows users to log in on another Server via a computer network, communicating via Transmission Control Protocol TCP and UDP port 513....
    , and raw TCP
    Transmission Control Protocol

    The Transmission Control Protocol is one of the core protocols of the Internet Protocol Suite. TCP is so central that the entire suite is often referred to as "TCP/IP"....
     client
    Client (computing)

    A client is an Application software or system that accesses a remote service on another computer system, known as a Server , by way of a Computer network....
     for Windows, Linux, and Unix.
  • NCSA Telnet
    NCSA Telnet

    NCSA Telnet is an implementation of the TELNET protocol created at the University of Illinois at Urbana-Champaign National Center for Supercomputing Applications in 1986 and continuously developed until 1996....


See also

  • Virtual terminal
    Virtual terminal

    In Open system , a virtual terminal is an application service that:# Allows Server terminals on a multi-User computer network to interact with other hosts regardless of computer terminal type and characteristics,...
  • Reverse telnet
    Reverse telnet

    Reverse telnet is a specialized application of telnet, where the server side of the connection reads and writes data to a TTY line , rather than providing a command shell to the host device....
  • Telnet 3270 (TN3270)
  • HyTelnet
    HyTelnet

    HistoryHyTelnet was an early attempt to create a universal or at least simpler interface for the various Telnet-based information resources available before the World Wide Web....
  • Kermit
    Kermit (protocol)

    Kermit is a computer file transfer/management protocol and a set of communications software tools primarily used in the early years of personal computing in the 1980s; it provides a consistent approach to file transfer, terminal emulator, scripting language programming, and character set conversion across many different computer hardware and...
  • NCSA Telnet
    NCSA Telnet

    NCSA Telnet is an implementation of the TELNET protocol created at the University of Illinois at Urbana-Champaign National Center for Supercomputing Applications in 1986 and continuously developed until 1996....
  • SSH
    Secure Shell

    Secure Shell or SSH is a network protocol that allows data to be exchanged using a secure channel between two networked devices. Used primarily on Linux and Unix based systems to access shell accounts, SSH was designed as a replacement for TELNET and other Computer security remote Shell s, which send information, notably passwords, in...


External links

  • - The official list of assigned option numbers at iana.org