Operational Procedures
A firewall must allow a remote administrator to reach the encrypted command-line shell of a Linux server. Which port should be opened?
Show the answer
Correct answerD. TCP 22
AWhy not this: TCP 3389 is RDP, which provides a graphical desktop session, not a command-line shell.
BWhy not this: TCP 5900 is the default VNC port, which shares a graphical desktop rather than a shell.
CWhy not this: TCP 23 is Telnet, which gives a remote shell but sends credentials and data unencrypted.
DWhy this is right: SSH uses TCP 22 for its encrypted command-line sessions, so this is the port to allow.
SSH listens on TCP 22 and provides an encrypted remote shell. TCP 23 is Telnet, which also gives a command line but sends everything, including credentials, in clear text.