Mac OS X

Change Mac OS X's ssh server port

Contributed by: Views:997

Quick way to change your sshd server's port.

Like many things in Mac OS X server administration, changing your server port relies on editing a plist file.

For instance, to change your ports to 4022, just edit /System/Library/LaunchDaemons/ssh.plist to look like so, replacing the named sockets with numbers: