Shell Script

SSH Password Attacks - Block IP Script

Blog tags: 

Running SSH and some script kiddy or attacker is running a username/password dictionary against it?  This script might help:

#!/bin/sh
# ----------------------------------
# IPTABLES / SSHD ATTACK BLOCKING SCRIPT
#
# Author: Ron Brash
# March 1st, 2011
#
# Purpose:
# Add offending IP from failed SSH connections
# to the iptables (firewall) rules.
#
# ------------------------------------

## Explaination

Subscribe to RSS - Shell Script