nerdexam
CompTIA

SY0-301 · Question #394

Which of the following ports is used for SSH, by default?

The correct answer is D. 22. SSH (Secure Shell) uses TCP port 22 by default, as assigned by IANA. This is a fundamental networking and security fact tested on nearly all IT certification exams.

General security concepts

Question

Which of the following ports is used for SSH, by default?

Options

  • A23
  • B32
  • C12
  • D22

How the community answered

(19 responses)
  • A
    5% (1)
  • B
    5% (1)
  • D
    89% (17)

Why each option

SSH (Secure Shell) uses TCP port 22 by default, as assigned by IANA. This is a fundamental networking and security fact tested on nearly all IT certification exams.

A23

Port 23 is the default port for Telnet, the unencrypted predecessor to SSH, not for SSH itself.

B32

Port 32 is not assigned to any standard protocol relevant to remote administration.

C12

Port 12 is not assigned to any standard protocol relevant to remote administration.

D22Correct

Port 22 is the IANA-assigned default port for SSH, which provides encrypted remote command-line access to network devices and servers. All SSH implementations use this port by default unless explicitly reconfigured.

Concept tested: Default SSH port number assignment

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

Topics

#SSH#network ports#default ports#remote access

Community Discussion

No community discussion yet for this question.

Full SY0-301 Practice