Securing SSH

Written by James McDonald

September 20, 2011

Looking at my auth.log on an internet accessible server. I notice that there has been 3071 unsuccesful login attempts since last the logs rotated.

cat /var/log/auth.log | grep invalid | grep ssh  | wc
3071   49136  327541

# does any one know how to match two arguments using AND logic for grep?
# let me know if you do.

Hmm I had better do something about it:

Good general guide on Securing SSH
http://wiki.centos.org/HowTos/Network/SecuringSSH

How to get a Debian / Ubuntu box to keep the iptables configuration across reboots
http://www.debian-administration.org/articles/445

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Toggen builds a new website

So I have built and hosted a new website for Roger Clark Pest Management they are a family owned and operated Pest...

WizTree

Just downloaded WizTree (not a sponsor) from https://wiztreefree.com/ It seems to do what it says on the tin which is...

Scam call from “Telstra”

Just had a call from a man with a sub-continental accent from caller ID 0734946596 Told me there was problem with my...