One of my fellow OS X blogger’s has recently published a new blog post you may want to check out. In this post Rob details how to go about changing OS X Lion’s default SSHD port number. You may want to do this for a number of reasons, both for security and to avoid clashes in port usage. Rob’s blog is just starting out, but please bookmark it and check back frequently for more informative posts.
In your traditional *nix OS you can simply edit one file in your /etc or /etc/ssh directory, generally called sshd_conf or something similar, and change your sshd port. Simply bust out your trusty text editor and change the line “Port 22? to list whatever port you wish to use, save the file and restart your sshd daemon. Sshd will now be running on the port of your choosing.
Good work Rob, I look forward to reading future posts.