Find the answer to your Linux question:
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.
  1. #1
    Just 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

  2. #2
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,759
    This is what Fail2ban was designed for...

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Aug 2005
    Location
    South West England
    Posts
    91
    Thanks. I've done the IPTables approach!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •