Port 22
SSHEncrypted remote shell and file transfer (SSH)
Full name:
Secure Shell
What is port 22?
SSH (Secure Shell) on port 22 is the de facto standard for secure remote administration of Linux/Unix servers. It provides an encrypted terminal session, file transfer (SCP, SFTP), and port forwarding. It replaced the insecure Telnet (port 23) and rlogin protocols. Because of its ubiquity, port 22 is a constant target for brute-force attacks. Best practices include using SSH key pairs instead of passwords, disabling root login, deploying fail2ban, and optionally moving SSH to a non-standard port.