knownports / Ports 0–99 / Port 22

Port22

  • sshThe Secure Shell (SSH) Protocol

IANA has registered port 22 to ssh on TCP, UDP and SCTP. It is one of the 88 numbers with an SCTP entry. The entry cites RFC 4251.

  1. 19chargen
  2. 20ftp-data
  3. 21ftp
  4. 22ssh
  5. 23telnet
  6. 1 free
  7. 25smtp
  8. 1 free
  9. 27nsw-fe
TCP assignedUDP assignedSCTP assignedreservedno entryAll 70 assigned numbers in ports 0–99

Registry entries

ServiceProtocolsRegisteredModifiedRFCsOther specs
sshTCPUDPSCTP—Feb 7, 2022RFC 4251, RFC 9260—

Cited RFCs

RFCTitlePublishedStatusLater changes
RFC 4251The Secure Shell (SSH) Protocol ArchitectureJanuary 2006Proposed Standardupdated by RFC 8308, RFC 9141
RFC 9260Stream Control Transmission ProtocolJune 2022Proposed Standard—

Where it sits in the registry

Port 22 is one of 70 numbers with an assignment in ports 0–99 (70.0% of the range). Three other numbers in the range are assigned on exactly the same transports, TCP, UDP and SCTP. The registry records no registration date for it, as for 69 other numbers in the range; dates were recorded mainly from 2002 on. IANA last modified the entry on February 7, 2022. Six other numbers in the registry carry the same modification date, a sign of one batch update.

Status on each protocol

ProtocolOn port 22Other numbers with the same statusNearest with the same status
TCPassigned to ssh5,88721 ftp
UDPassigned to ssh5,50021 ftp
SCTPassigned to ssh8721 ftp
DCCPno entry6,08021 ftp

40 other assigned numbers in the registry have exactly this combination across all four protocols.

The nearest assigned numbers

PortServiceLabelProtocolsRegisteredDistance
19chargenCharacter GeneratorTCPUDP—3
20ftp-dataFile Transfer [Default Data]TCPUDPSCTP—2
21ftpFile Transfer Protocol [Control]TCPUDPSCTP—1
23telnet—TCPUDP—1
25smtpSimple Mail TransferTCPUDP—3
27nsw-feNSW User System FETCPUDP—5

Other names built on ssh

830 netconf-ssh 3897 sdo-ssh 4334 netconf-ch-ssh 6252 tl1-ssh 17235 ssh-mgmt

Other entries that mention ssh

The text ssh appears in the name or label of three other registry entries, every one shown here. It is a text match, not a statement that the services are related.

  • 5161 snmpssh “SNMP over SSH Transport Model”
  • 5162 snmpssh-trap “SNMP Notification over SSH Transport Model”
  • no number, sftp-ssh “Secure File Transfer Protocol over SSH”

Listed in Ports that cite an RFC · SCTP and DCCP port numbers · Remote access ports: ssh, telnet, 3389 and 5900