What is Port 22 and How Does It Work?
SSH (Secure Shell) provides encrypted remote command-line login and system administration on Linux/Unix systems.
Security Vulnerabilities & Attack Vectors on Port 22
Port 22 is heavily targeted by automated brute-force attacks. Disable root login, enforce SSH keys, and use Fail2ban.
Auditing & Scanning Port 22 with Nmap
Run the following command to check if Port 22 is reachable and determine service fingerprints:
nmap -p 22 -sV -sC