The default SSH port is 22. It is not a coincidence. This is a story of how it got that port. I (, @tjssh) haven't told it before. I wrote the initial version of SSH (Secure Shell) in Spring 1995. It was a time when telnet and FTP were widely used.