|
|
Disable ssh access for password-guessing bots
Another solution that I've used on my installation is to disable password-based access to SSH, but still allow logins using public/private key authentication. I did this because I wanted remote access to my system while I was at work, but didn't like the thousands of password attempts I saw every day to have any chance of succeeding. You can set up key authentication in SSH by following this hint. After that, you can disable password authentication by editing /etc/sshd and setting
Disable ssh access for password-guessing bots
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:
Disable ssh access for password-guessing bots
This person is spot-on. Using private-key authentication will instantly negate scriptkiddies as an issue. And if you're at a foreign computer, you can carry SSH and a private key (perhaps not your main one) around on a USB keyfob. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.38 seconds |
|