← Port Encyclopedia
22222
SSH-Alt
TCP
Remote Access Medium Risk
Alternative SSH — non-standard SSH port for obscurity

🔍 How to Scan Port 22222

nmap -sV -p 22222 target
nmap -sV -sC --script=banner -p 22222 target
nc -zv target 22222

🛡️ Security Considerations

  • Scan port 22222 with nmap -sV to identify the exact service and version
  • If SSH-Alt is not needed, close or firewall this port immediately
  • Check for default credentials if a management interface runs on this port
  • Use searchsploit ssh-alt to find known exploits
  • Monitor traffic on port 22222 with Wireshark or tcpdump for anomalies
  • Ensure the service is patched to the latest version to prevent known CVE exploitation