Just found it a bit strange that the default SSH port is not in the main manual page: $ cat /etc/services| grep -w '^ssh' ssh 22/tcp ssh 22/udp ssh 22/sctp ssh-mgmt 17235/tcp ssh-mgmt 17235/udp $ man ssh |grep -w port | wc -l 44 $ man ssh | grep 22 [1]$ man ssh | grep etc/services [1]$ man ssh_config |grep -w 22 fault is 22. What is the expected manner in which a new user learns this information? It is so basic that I would have put it in the second paragraph of the manual page.
It's in the sshd manual page, since it is the thing that listens: > -p port > Specifies the port on which the server listens for connections > (default 22). Multiple port options are permitted. Ports ssh strictly uses what is in /etc/services
closing bugs resolved before openssh-8.9
> ssh strictly uses what is in /etc/services $ man ssh | grep etc/services [1]$