According to man ssh:
-p port
Port to connect to on the remote host. This can be specified on
a per-host basis in the configuration file.
So you should be looking at:
ssh -p 1234 [email protected]
to connect to port 1234.
-p port
Port to connect to on the remote host. This can be specified on
a per-host basis in the configuration file.
ssh -p 1234 [email protected]