Main menu
Definition

TELNET

TELNET is a protocol for interfacing terminal devices and processes, and for facilitating terminal-to-terminal and process-to-process communication. Learn how Telnet works, why it is considered insecure, and how organizations replace or contain it.

DTDevolutions Team·November 12, 2026·2 min read

What is TELNET?

TELNET (Teletype Network) is one of the earliest internet protocols. It gives a user a text-based terminal session on a remote computer or device over a network, so they can type commands as if connected directly. It was widely used to administer servers and network equipment, and it still appears on older routers, switches, industrial devices, and embedded systems.

Telnet was designed when networks were small and trusted, so security was not part of its original design.

How does Telnet work?

  1. A Telnet client connects to the server, by default on TCP port 23.
  2. Client and server negotiate options, such as terminal type and echo behavior, using Telnet commands.
  3. The user signs in with a username and password.
  4. Keystrokes are sent to the server, and output is sent back, character by character or line by line.

Everything, including the username and password, travels in plaintext. Telnet clients are also used informally as a quick tool to test whether a port on a server is open.

Telnet vs. SSH

SSH provides the same kind of remote terminal access but encrypts the session, verifies the server's identity with host keys, and supports stronger authentication such as keys. SSH has replaced Telnet for almost all administrative use.

Most modern network devices and operating systems support SSH, so the switch is usually a configuration change rather than new hardware.

Why does Telnet matter?

Telnet sessions can be read and hijacked by anyone who can observe the traffic, so credentials used over Telnet should be considered exposed. Where possible, disable Telnet and use SSH. When a legacy device only supports Telnet, isolate it on a restricted network segment, limit who can reach it, use credentials unique to that device, and wrap the connection in an encrypted channel.

Network scans can quickly show which devices still accept Telnet connections, which is a good first step toward retiring them.

Frequently asked questions

What is Telnet?

Telnet is a protocol for interfacing terminal devices and processes, letting a user open a text-based session on a remote computer or device.

Is Telnet secure?

No. Telnet sends all data, including passwords, in plaintext. SSH should be used instead whenever possible. Where Telnet must remain for a legacy device, keep it on an isolated network and use credentials unique to that device.

What port does Telnet use?

Telnet uses TCP port 23 by default.

Add protection to legacy protocols

Gateway adds encryption over WebSockets for non-secure protocols such as Telnet.

Explore Devolutions Gateway

Related terms

Secure Shell (SSH)

Secure Shell (SSH) is a protocol employing cryptographic techniques to establish a secure connection between a client and a server.

Read now →

Password sniffing

Password sniffing is harvesting passwords by means of software that scans traffic on a network.

Read now →

Plaintext

Plaintext is unencrypted or decrypted alphanumeric words and messages.

Read now →