As a network administrator, you need to open an encrypted remote command-line session to configure a new Linux server from your office PC. You want to use the protocol's default well-known port so that no additional firewall changes are needed. Which protocol that listens on TCP port 22 should you use?
Secure Shell (SSH) is a cryptographic network protocol that provides encrypted command-line sessions to remote hosts and, by default, uses TCP port 22. Telnet also provides command-line access but uses port 23 and transmits data in clear text, so it does not meet the encryption requirement. FTP (ports 20/21) is intended for unencrypted file transfers, not interactive shell access. HTTPS uses TCP port 443 for secure web traffic rather than shell sessions. Therefore, SSH is the correct choice when secure CLI management over the default port 22 is required.
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.