A technician is creating an inbound rule on a SOHO firewall so administrators can establish encrypted command-line sessions to a new Linux server from the internet. Assuming the server is using its default settings, which port and transport protocol must be opened to allow this type of remote management?
Secure Shell (SSH) provides encrypted remote administration, replacing unencrypted tools such as Telnet. By default, SSH listens on TCP port 22. Telnet uses TCP port 23 but transmits credentials in plain text, making it unsuitable for secure administration. TFTP relies on UDP port 69 and is designed for simple file transfers, not interactive shell access. Remote Desktop Protocol (RDP) uses TCP port 3389 and is primarily for graphical Windows sessions, not command-line access to Linux. Therefore, permitting TCP traffic on port 22 is required for administrators to reach the server using SSH.
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 does SSH use TCP port 22 by default?
Open an interactive chat with Bash
How does SSH differ from Telnet?
Open an interactive chat with Bash
What are the risks of leaving unneeded ports, like TCP 23 for Telnet, open on a firewall?