Troubleshooting Linux Servers with telnet | Linux Today

Troubleshooting Linux Servers with telnet

Written By
JK
Juliet Kemp
Feb 14, 2011

“The venerable telnet is still a useful tool in the server
administrator’s toolkit. Juliet Kemp shows how to test basic SMTP,
IMAP, HTTP, and IRC server functions with telnet.

“Telnet is one of the older ways of doing business over a
network: a network protocol running over TCP/IP, which allows a
client to talk to a server remotely. Back in the day (such as when
I first got online), telnet was the usual means to connect to a
remote computer to get a console, and from there do server
administration, check email, and run applications. These days ssh
is the default for security reasons, but telnet still has its uses.
Because telnet transmits all data as-is you can use it to open a
raw TCP session, then talk to a server running a network service,
and do a little debugging. At the very least, telnetting to a
particular port on a server can confirm that you can reach the
remote server from your machine, and that there is a running
service bound to the port.

“It’s important to remember that telnet is NOT encrypted, so
it’s very vulnerable to packet-sniffing and man-in-the-middle
attacks. You should never use it to transmit a username and
password except for controlled tests using disposable
accounts.”

Complete
Story

JK

Juliet Kemp

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.