Port 22 (SSH)
Registered TCP and UDP services for port 22 from the IANA registry snapshot.
SSH commonly carries terminal sessions, SFTP and SCP over TCP. A file-transfer profile using SFTP normally follows the SSH listener.
| Protocol | Service name | Registry description |
|---|---|---|
| TCP | ssh | SSH Remote Login Protocol |
| UDP | ssh | SSH Remote Login Protocol |
Match both the port number and the transport when documenting a service. UDP 22 and TCP 22 identify separate sockets. Check the host configuration to identify the application actually listening.
Check the port on your Windows host
Open PowerShell on the computer running the service. Compare LocalAddress with the configured interface and check which clients the firewall allows.
- TCP ·
Get-NetTCPConnection -State Listen -LocalPort 22· Inspect local TCP listeners - UDP ·
Get-NetUDPEndpoint -LocalPort 22· Inspect local UDP endpoints