Prevent SSH Attacks Using DenyHosts

Introduction If you have any servers that are running SSH and listening on a public net connection, its a good idea to prevent against dictionary attacks, since they are the simplest way to gain entry. You can get an idea of who is connecting or attempting to connect by viewing your ssh log which is located at /var/log/secure on Redhat or /var/log/auth.log on Debian. There is an easy tool that you can install to deal with this attack called DenyHosts. [Read More]