nerdexam
GIAC

GSEC · Question #154

You work as a Network Administrator for Rick International. The company has a TCP/IP-based network. A user named Kevin wants to set an SSH terminal at home to connect to the company's network. You hav

The correct answer is B. 22. SSH (Secure Shell) uses TCP port 22 by default for encrypted remote terminal connections.

Networking and Core Concepts

Question

You work as a Network Administrator for Rick International. The company has a TCP/IP-based network. A user named Kevin wants to set an SSH terminal at home to connect to the company's network. You have to configure your company's router for it. By default, which of the following standard ports does the SSH protocol use for connection?

Options

  • A443
  • B22
  • C21
  • D80

How the community answered

(34 responses)
  • A
    6% (2)
  • B
    82% (28)
  • C
    9% (3)
  • D
    3% (1)

Why each option

SSH (Secure Shell) uses TCP port 22 by default for encrypted remote terminal connections.

A443

Port 443 is the default port for HTTPS (HTTP over TLS/SSL), not SSH.

B22Correct

Port 22 is the IANA-assigned well-known port for the SSH protocol, used for establishing secure encrypted shell sessions, tunneling, and file transfers (SFTP/SCP). Routers and firewalls must permit inbound TCP port 22 traffic to allow external SSH clients to connect to internal hosts.

C21

Port 21 is the default control port for FTP (File Transfer Protocol), not SSH.

D80

Port 80 is the default port for unencrypted HTTP web traffic, not SSH.

Concept tested: SSH protocol default port assignment

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

Topics

#SSH#port 22#remote access#protocol ports

Community Discussion

No community discussion yet for this question.

Full GSEC Practice