Which port does an SSH server normally listen on?

An SSH server normally listens on port 22.

Start playing free

  1. Port 21
  2. Port 22 ✔
  3. Port 23

Why: The SSH transport specification assigns normal server listening to port 22. Administrators may configure another port, but clients need to be told about that change.

Huh, didn't know that: SSH provides a secure transport used for remote login and other services.

The dad joke
SSH whispered at port 22 so the session stayed quiet.
Like this card?
Play the game

References

Answer: Port 22. The SSH transport specification assigns normal server listening to port 22. Administrators may configure another port, but clients need to be told about that change.

  1. RFC 4253: SSH Transport Layer Protocol www.rfc-editor.org/rfc/rfc4253.html
    the server normally listens for connections on port 22.
    Checked 2026-10-10.

Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.

Test yourself in the game