Port 22
ssh · SCTP/TCP/UDP
| Bereich | System-/Well-known-Port (0–1023) |
|---|---|
| Protokoll | SCTP/TCP/UDP |
| Dienst | ssh |
| Referenz | RFC 4251, RFC 9260 |
| Geändert | 2022-02-07 |
Häufige Fragen
Wofür wird Port 22 verwendet?
Port 22 ist bei der IANA für ssh registriert (SCTP/TCP/UDP). Beschreibung: The Secure Shell (SSH) Protocol; SSH.
Ist Port 22 ein Well-known-Port?
Ja. Port 22 liegt im Bereich 0–1023 (System- bzw. Well-known-Ports). Unter Linux und macOS dürfen nur privilegierte Prozesse diese Ports öffnen.
Wie prüfe ich, ob Port 22 offen ist?
Lokal unter Linux mit ss -tulpn | grep ':22\b', unter Windows mit netstat -ano | findstr :22. Einen entfernten Rechner testen Sie in der PowerShell mit Test-NetConnection <host> -Port 22 oder unter Linux/macOS mit nc -zv <host> 22.
Wie öffne ich Port 22 in der Firewall?
Ubuntu/Debian (ufw): sudo ufw allow 22/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=22/tcp --permanent, danach firewall-cmd --reload. Windows (PowerShell als Administrator): New-NetFirewallRule -DisplayName "Port 22" -Direction Inbound -Protocol TCP -LocalPort 22 -Action Allow.
Einträge im IANA-Register
| Protokoll | Dienst | Beschreibung (IANA) |
|---|---|---|
| TCP | ssh | The Secure Shell (SSH) Protocol |
| UDP | ssh | The Secure Shell (SSH) Protocol |
| SCTP | ssh | SSH |