← Port Encyclopedia
22
SSH
TCP
Remote Access Critical Risk
Secure Shell — encrypted remote access, brute force target, key-based auth recommended

🔍 How to Scan Port 22

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

🛡️ Security Considerations

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