This hint provides various useful information for setting up SSH to listen on multiple ports.
Before editing any configuration file make a backup of the file.
Below is a summary of the helpful posts :
Step #1 :
Add an entry to /etc/services such as ssh2, pointing to a second port. For example add the following to /etc/services:
ssh2 10022/udp
ssh2 10022/tcp
Step #2 :
Find the following lines in the ssh.plist file:
Sockets
Listeners
Add new lines as shown below, with the new lines marked with “+”:
Sockets
+ Alternate Listeners
+
+ SockServiceName
+ ssh2
+
Listeners
If you want more then two port numbers, just change “Alternate Listeners” in the first new line to something unique, and duplicate the 5 additional lines again.
Step #3 :
Execute the following commands to restart SSH.
service ssh stop
launchctl unload /System/Library/LaunchDaemons/ssh.plist
launchctl load /System/Library/LaunchDaemons/ssh.plist
service ssh start