The default SSH port is 22. It is not a co-incidence. This is a story of how it got that port. I () 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.