nerdexam
CompTIA

SY0-301 · Question #333

Which of the following uses port 22 by default? (Select THREE).

The correct answer is A. SSH D. SFTP E. SCP. SSH, SFTP, and SCP all use port 22 by default because SFTP and SCP are both tunneled over the SSH protocol.

General security concepts

Question

Which of the following uses port 22 by default? (Select THREE).

Options

  • ASSH
  • BSSL
  • CTLS
  • DSFTP
  • ESCP
  • FFTPS
  • GSMTP

How the community answered

(40 responses)
  • A
    93% (37)
  • B
    5% (2)
  • C
    3% (1)

Why each option

SSH, SFTP, and SCP all use port 22 by default because SFTP and SCP are both tunneled over the SSH protocol.

ASSHCorrect

SSH (Secure Shell) natively uses port 22 as its well-known port for encrypted remote administration.

BSSL

SSL is not a standalone service with its own dedicated well-known port; it is a cryptographic layer used by other protocols such as HTTPS (443) and SMTPS (465).

CTLS

TLS similarly is a transport security layer, not an application service with its own port; it wraps other protocols on their respective ports.

DSFTPCorrect

SFTP (SSH File Transfer Protocol) is a file transfer subsystem that runs entirely within an established SSH session and therefore uses port 22.

ESCPCorrect

SCP (Secure Copy Protocol) transfers files by invoking SSH as its transport, inheriting port 22 as its default port.

FFTPS

FTPS (FTP over SSL/TLS) uses port 990 for implicit mode or port 21 for explicit mode, not port 22.

GSMTP

SMTP uses port 25 (or 587 for submission) for email transfer, not port 22.

Concept tested: Default port 22 usage by SSH-based protocols

Source: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml

Topics

#port numbers#SSH#SFTP#SCP

Community Discussion

No community discussion yet for this question.

Full SY0-301 Practice