Created
June 23, 2011 21:48
-
-
Save eegrok/1043716 to your computer and use it in GitHub Desktop.
disable password ssh authentication on mac os
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
make sure the following lines are set in /etc/ssh/sshd_config | |
PasswordAuthentication no | |
ChallengeResponseAuthentication no | |
UsePAM no | |
then restart the ssh server (uncheck / recheck 'Remote Login' in the 'System Preferences' -> 'Sharing' panel) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment