ssh -p “port”

ssh -p port
specify the port to connect to the remote host. This can also be specified for each host depending on the configuration file.