Networking

A technician must manage a Linux server with no graphical interface from across the internet, using an encrypted text-based session. Which port should the firewall allow?

Show the answer

Correct answerC. 22

AWhy not this: Telnet is text-based but unencrypted, so credentials cross the internet in clear text.

BWhy not this: HTTPS secures web traffic, not a remote command-line session.

CWhy this is right: SSH on port 22 provides an encrypted remote command-line session.

DWhy not this: RDP provides a remote graphical desktop, not a text session on a server with no GUI.

SSH on port 22 gives encrypted command-line access, which fits a headless Linux server. Telnet on port 23 is also text-based but sends everything, including credentials, unencrypted.