A network administrator is configuring a new server so employees can upload and download files over an encrypted connection. The administrator decides to use the SSH File Transfer Protocol (SFTP). Which single TCP port must be opened on the firewall to allow SFTP traffic between clients and the server?
SFTP operates as a subsystem of SSH and, by default, uses TCP port 22 for both control commands and data transfer within a single encrypted session. Opening port 22 on the firewall is therefore sufficient to enable SFTP connectivity. Ports 20/21 are used by legacy (unencrypted) FTP, while ports 80 and 443 are associated with HTTP and HTTPS respectively and are unrelated to SFTP.
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.
What is FTP and how does it work?
Open an interactive chat with Bash
What are the differences between FTP and SFTP?
Open an interactive chat with Bash
Why are ports 80 and 443 important if they are not used for FTP?