Network and Communications Security
A firewall rule must permit file transfers tunneled entirely through SSH, with no separate data channel. Which port should the rule allow?
Show the answer
Correct answerD. TCP 22
AWhy not this: TCP 990 is implicit FTPS, FTP wrapped in TLS, which still opens separate data connections.
BWhy not this: TCP 21 is the FTP control channel, which is unencrypted and uses separate data connections.
CWhy not this: UDP 69 is TFTP, which has no SSH tunneling or authentication.
DWhy this is right: SFTP is carried inside SSH on TCP 22 using one connection for control and data.
SFTP runs inside an SSH session on TCP 22, using a single connection for commands and data. TCP 990 is implicit FTPS, which is FTP over TLS and still uses a separate data channel.