CompTIA Security Plus Mock Test Q134

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

A. 23
B. 32
C. 12
D. 22

Correct Answer: D
Section: Network Security

Explanation:
Secure Shell (SSH) is a cryptographic network protocol for securing data communication. It establishes a secure channel over an insecure network in a client-server architecture, connecting an SSH client application with an SSH server. Common applications include remote command-line login, remote command execution, but any network service can be secured with SSH. SSH uses port 22.

Incorrect Answers:
A: Port 23 is used by the Telnet protocol, not by SSH.
B: Port 32 is an unassigned port.
C: Port 12 is an unassigned port.

References:
http://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
http://en.wikipedia.org/wiki/Secure_Shell
http://www.planetlinks.com/tec236/notes-terms/4-10-06/default-tcp-ports-list.html