Skip to main content

Overview

Telnet is a protocol used to connect to remote computers in a terminal session. It started its live in the early 70's and became documented in RFC 854 in 1983.

Telnet has a mechanism that enables client and server to exchange information out-of-band, meaning in a way that the content of this exchange is not part of the terminal session. What kind of information is exchanged and how this is done is specificed in extra documents, one per feature: the Telnet Options. Since implementing those specifications is optional, every telnet session starts with a handshake in which both sides indicate which telnet options they support.

The Handshake

List of options

The following list is the officially registered list of Telnet options. Be aware that MUD protocols also use Telnet options, but don't have officially registered numeric identifiers.

OptionsNameReference
0Binary Transmission[RFC856]
1Echo[RFC857]
2Reconnection[NIC 15391 of 1973]
3Suppress Go Ahead[RFC858]
4Approx Message Size Negotiation[NIC 15393 of 1973]
5Status[RFC859]
6Timing Mark[RFC860]
7Remote Controlled Trans and Echo[RFC726]
8Output Line Width[NIC 20196 of August 1978]
9Output Page Size[NIC 20197 of August 1978]
10Output Carriage-Return Disposition[RFC652]
11Output Horizontal Tab Stops[RFC653]
12Output Horizontal Tab Disposition[RFC654]
13Output Formfeed Disposition[RFC655]
14Output Vertical Tabstops[RFC656]
15Output Vertical Tab Disposition[RFC657]
16Output Linefeed Disposition[RFC658]
17Extended ASCII[RFC698]
18Logout[RFC727]
19Byte Macro[RFC735]
20Data Entry Terminal[RFC1043][RFC732]
21SUPDUP[RFC736][RFC734]
22SUPDUP Output[RFC749]
23Send Location[RFC779]
24Terminal Type[RFC1091]
25End of Record[RFC885]
26TACACS User Identification[RFC927]
27Output Marking[RFC933]
28Terminal Location Number[RFC946]
29Telnet 3270 Regime[RFC1041]
30X.3 PAD[RFC1053]
31Negotiate About Window Size[RFC1073]
32Terminal Speed[RFC1079]
33Remote Flow Control[RFC1372]
34Linemode[RFC1184]
35X Display Location[RFC1096]
36Environment Option[RFC1408]
37Authentication Option[RFC2941]
38Encryption Option[RFC2946]
39New Environment Option[RFC1572]
40TN3270E[RFC2355]
41XAUTH[Rob_Earhart]
42CHARSET[RFC2066]
43Telnet Remote Serial Port (RSP)[Robert_Barnes]
44Com Port Control Option[RFC2217]
45Telnet Suppress Local Echo[Wirt_Atmar]
46Telnet Start TLS[Michael_Boe]
47KERMIT[RFC2840]
48SEND-URL[David_Croft]
49FORWARD_X[Jeffrey_Altman]
50-137Unassigned[IANA]
138TELOPT PRAGMA LOGON[Steve_McGregory]
139TELOPT SSPI LOGON[Steve_McGregory]
140TELOPT PRAGMA HEARTBEAT[Steve_McGregory]
141-254Unassigned
255Extended-Options-List[RFC861]

Telnet Today