How to connect to a non standard SSH port in the Mac terminal

BobHarris has the solution.
ssh -p 12345 remoteUsername@address.of.remote.system
You can also create a .ssh/config file and add the following:
# .ssh/config Host shortCutName HostName address.of.remote.system User remoteUsername Port 12345
The options you can add to the .ssh/config file are listed in “man ssh” under the -o option