nerdexam
CompTIA

SK0-004 · Question #782

Which of the following protocols utilize SSH and TCP over port 22 for secure communication? (Choose two.)

The correct answer is A. SFTP D. SCP. SFTP and SCP both tunnel file transfer operations inside an SSH session, using TCP port 22 for all communication.

Server administration

Question

Which of the following protocols utilize SSH and TCP over port 22 for secure communication? (Choose two.)

Options

  • ASFTP
  • BFTP
  • CTFTP
  • DSCP
  • EFTPS
  • FSMTP

How the community answered

(16 responses)
  • A
    94% (15)
  • C
    6% (1)

Why each option

SFTP and SCP both tunnel file transfer operations inside an SSH session, using TCP port 22 for all communication.

ASFTPCorrect

SFTP (SSH File Transfer Protocol) is a subsystem of the SSH protocol that provides encrypted file transfer and remote file management entirely over a single SSH session on TCP port 22. SCP (Secure Copy Protocol) also uses SSH as its transport layer, encrypting data in transit and authenticating via SSH credentials or keys on the same TCP port 22. Both protocols inherit SSH's encryption and authentication, making them distinct from legacy FTP variants.

BFTP

FTP uses TCP ports 20 (data) and 21 (control) and transmits credentials and data in cleartext with no SSH involvement.

CTFTP

TFTP (Trivial File Transfer Protocol) uses UDP port 69 and has no encryption or authentication whatsoever.

DSCPCorrect
EFTPS

FTPS (FTP Secure) wraps FTP in TLS/SSL, using TCP port 990 (implicit) or 21 (explicit), and does not use SSH.

FSMTP

SMTP is an email transfer protocol that uses TCP port 25 (or 587/465 for submission) and is unrelated to SSH or file transfer.

Concept tested: SSH-based file transfer protocols SFTP and SCP on port 22

Source: https://www.ietf.org/rfc/rfc4253.txt

Topics

#SSH#SFTP#SCP#port 22

Community Discussion

No community discussion yet for this question.

Full SK0-004 Practice