CV0-002 · Question #389
A network administrator is enabling SFTP. Which of the following ports should be open on the firewall?
The correct answer is B. 22. SFTP (SSH File Transfer Protocol) provides secure file transfer functionality and utilizes the same port as its underlying secure shell protocol.
Question
A network administrator is enabling SFTP. Which of the following ports should be open on the firewall?
Options
- A21
- B22
- C80
- D443
How the community answered
(30 responses)- A3% (1)
- B93% (28)
- D3% (1)
Why each option
SFTP (SSH File Transfer Protocol) provides secure file transfer functionality and utilizes the same port as its underlying secure shell protocol.
Port 21 is the default control port for FTP (File Transfer Protocol), which is an insecure protocol and unrelated to SFTP.
Port 22 is the standard well-known port for SSH (Secure Shell), and SFTP leverages SSH for secure command and data transfer, making port 22 the correct choice to open on a firewall for SFTP.
Port 80 is the standard port for HTTP (Hypertext Transfer Protocol), used for unencrypted web traffic.
Port 443 is the standard port for HTTPS (Hypertext Transfer Protocol Secure), used for encrypted web traffic.
Concept tested: Standard network service ports (SFTP)
Source: https://www.ssh.com/academy/ssh/port
Topics
Community Discussion
No community discussion yet for this question.