Unable to SSH to OS X Server over alternate port
Here are steps to get SSH listening on port 443. Note that if you have SIP disabled, you can directly edit (as root) /System/Library/LaunchDaemons/ssh.plist and therefore can skip steps 1 and 3, and use the above path in steps 2 and 5. Note in that case you will want to run the unload command before editing ssh.plist.


Copy the existing ssh.plist file into /Library:

sudo cp /System/Library/LaunchDaemons/ssh.plist /Library/LaunchDaemons/ssh2.plist

Edit the file as root:

sudo nano /Library/LaunchDaemons/ssh2.plist

There are two things that need to be changed. First is the &lt;Label&gt;. Change this:

&lt;key&gt;Label&lt;/key&gt;
&lt;string&gt;com.openssh.sshd&lt;/string&gt;


To something like this:

&lt;key&gt;Label&lt;/key&gt;
&lt;string&gt;com.openssh.sshd443&lt;/string&gt;

Next change this:

                &lt;key&gt;SockServiceName&lt;/key&gt;
                &lt;string&gt;ssh&lt;/string&gt;


To this:

                &lt;key&gt;SockServiceName&lt;/key&gt;
                &lt;string&gt;443&lt;/string&gt;

Save and then run this command to load the service:

sudo launchctl load -w /Library/LaunchDaemons/ssh2.plist


If you ever need to unload it, you can do so with:

sudo launchctl unload /Library/LaunchDaemons/ssh2.plist