# cp /etc/ssh/sshd_config /etc/ssh/sshd_config-20120522 # sed -i -e 's/#PasswordAuthentication yes/PasswordAuthentication no/g' /etc/ssh/sshd_config # service sshd restart I guess when I set out to document this I thought the task was more challenging. ;-) I went this route as I am sick of worrying about the script kiddies pounding on my system all day long. I also scan the secure log every minute for random connection attempts and then shun them at my firewall. I'll save that for another post.
Linux: The whole world made it for you... This blog is a collection of things I come across either at home or at work as a Linux Administrator. I have worked as an Admin working with Solaris, SAN, Backups and Linux at the Enterprise level for over 16 years.