This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Alternative/Secondary/Backup SSH Service: | |
Add this line to /etc/services | |
ssh-alt 10022/tcp # ssh-alternative | |
You may change the port to any unused port you like but maybe try to avoid 2222 and 22222 as they are a little too obvious. This line actually specifies which port your alternative sshd will be listening on. | |
Save the launchd item following as as /Library/LaunchDaemons/ssh-alt.plist | |
Load with |