Results 1 to 4 of 4
I'm looking for a sort of tripwire that, when a certain IP connects to the SSH server and uses the wrong password 5 times in a row, my server adds ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-25-2009 #1Just Joined!
- Join Date
- Aug 2005
- Location
- South West England
- Posts
- 91
SSH Tripwire
I'm looking for a sort of tripwire that, when a certain IP connects to the SSH server and uses the wrong password 5 times in a row, my server adds it to /etc/hosts.deny.
How do I do this?
Cheers
Dan
- 01-25-2009 #2
maybe something like this
Samhain Labs | Defending against brute force ssh attacks
- 01-26-2009 #3Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,722
This is what Fail2ban was designed for...
- 01-26-2009 #4Just Joined!
- Join Date
- Aug 2005
- Location
- South West England
- Posts
- 91
Thanks. I've done the IPTables approach!


Reply With Quote
