Configure SSH for – Mac

To connect to the server, you must use a non-standard network port. We’ll set up a configuration file so that this happens automatically.

If you don’t already have a Terminal window, open the Terminal application from Applications » Utilities.

At the terminal prompt, enter these two commands:

touch ~/.ssh/config
open -e ~/.ssh/config

In the text editor that pops up, type the following, on two separate lines:

port 1010

Save the file (File menu » Save or ⌘-S) and close the editor.