Networking and Cloud Security Concepts

An administrator must allow secure remote command-line administration of servers and block its cleartext equivalent. Which firewall rule set does this?

Show the answer

Correct answerC. Allow TCP 22 and block TCP 23

AWhy not this: TCP 25 is SMTP mail transfer and TCP 110 is POP3; neither is remote administration.

BWhy not this: This secures web traffic (HTTPS versus HTTP), which is not remote command-line administration.

CWhy this is right: SSH on TCP 22 is the encrypted command-line service; Telnet on TCP 23 is its cleartext equivalent.

DWhy not this: This reverses the intent: it permits cleartext Telnet and blocks encrypted SSH.

SSH uses TCP 22 and provides encrypted command-line access, while Telnet uses TCP 23 and sends data, including credentials, in cleartext. Allowing 443 and blocking 80 addresses web traffic, not remote command-line administration.