Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Disable ssh access for password-guessing bots' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Disable ssh access for password-guessing bots
Authored by: zadig on Oct 10, '08 08:32:02AM

Forgot to look at my own /etc/sshd_config file before posting. No equal sign, and there's another setting to change (as the comments in the file warn you anyway). Set these two lines:

PasswordAuthentication no
UsePAM no

Another thing I remembered while I was editing is that Apple sometimes overwrites that file during updates. At least, it must have once because I looked at this file after changing it a long time ago, and saw that my custom settings were gone. So check it after you install any update to make sure your sshd_config is still locked down.



[ Reply to This | # ]