Open System Preferences and click Sharing.
The Sharing window opens.
Ensure that Remote Login is selected in the Service list.
Ensure that either of the following is allowed access:
All Users
The user that running the DAS or instance
(MacOS 10.6 systems only) Ensure that the SSH server daemon sshd
allows password authentication.
On MacOS 10.5 systems, the SSH server daemon sshd
allows password authentication by default. However, on MacOS 10.6 systems, the SSH server daemon sshd
disallows password authentication by default.
Edit the configuration file /etc/sshd_config
to set the PasswordAuthentication
option to yes
.
Stop the SSH server daemon sshd
.
$ sudo launchctl stop com.openssh.sshd
Start the SSH server daemon sshd
.
$ sudo launchctl start com.openssh.sshd
Next Steps
After you have completed the setup of SSH on a host, test the setup on the host as explained in Testing the SSH Setup on a Host.