How do you run a ssh server on Mac OS X?
3 Answers
Go to System Preferences -> Sharing, enable Remote Login.
2In System Preferences under Sharing, there is an option for Remote Login.
This will run sshd at startup (through launchd) and enable SSH access with standard options. To tweak the sshd options, edit /etc/sshd_config (or /private/etc/ssh/sshd_config in later versions) (you'll need to do this in a sudo shell or via sudo vi /etc/sshd_config).
I'd prefer:
sudo systemsetup -setremotelogin on