Ports·22
22
ssh
TCP · 0x0016

Port 22 — ssh

Remote access

Port 22 carries Secure Shell over TCP. Being at or below 1023, only root may open it on Unix.

0–1023. On Unix only root may open one.

Where it sits in 65535

A port number is 16 bits, so it stops at 65535. The narrow band at the left is everything up to 1023.

065535
Service
Secure Shell (ssh)
Kind
Remote access
Protocol
TCP
Range
Well-known
Root needed
Yes
Hexadecimal
0x0016
Binary
0000000000010110
Two bytes
0 · 22

Same kind

Running commands or watching a screen on someone else’s machine.

Ports next to it

How to read this

  • A port number is 16 bits, so it runs 0 to 65535. There is no port 65536.
  • Opening anything at or below 1023 needs root on Unix.
  • Plain and encrypted often live on different numbers — 80 and 443, for one.
  • Numbers like 3000 and 8080 were never registered; those are marked as custom.

Frequently asked questions

Q. What is port 22 used for?

Secure Shell (ssh) uses it, over TCP.

Q. Does opening port 22 need root?

Yes. It is at or below 1023, so on Unix only root may open it.

Q. Which range does port 22 fall in?

Well-known (0–1023). In hex it is 0x0016.

Q. Does port 22 have a twin?

Not a separate one. It either was encrypted from the start or negotiates TLS on the same number.