A system administrator is hardening a legacy Linux server and discovers that TCP port 23 is open and listening. A network packet capture confirms that authentication credentials are being sent in plaintext during remote login sessions. To remediate this critical security vulnerability, which of the following services should the administrator disable and replace with a secure alternative?
The correct answer is Telnet. The Telnet protocol, which traditionally uses TCP port 23, transmits all data, including usernames and passwords, in clear text. The scenario described, with plaintext credentials on port 23, is a classic indicator of an active Telnet service. The best practice is to disable Telnet and replace it with SSH (Secure Shell), which encrypts the entire communication session. SSH is the secure alternative for remote command-line access, protecting credentials and data from being intercepted. FTP is also an insecure protocol that transmits credentials in plaintext, but it is used for file transfers and typically operates on ports 20 and 21. SFTP is a secure file transfer protocol that runs over SSH and would not exhibit this vulnerability.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why is Telnet considered insecure?
Open an interactive chat with Bash
What makes SSH a secure alternative to Telnet?
Open an interactive chat with Bash
What are the key differences between FTP and SFTP?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Security
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .