Linux, Network

How to avoid SSH attacks

If you are seeing too many attempts to gain access to your server then you should download and Install denyhosts.

Denyhosts scans /var/log/auth.log for repeated failures to access the system via SSH and adds them to /etc/hosts.deny. Check this list for all denyhosts features.

For Ubuntu users:

sudo apt-get install denyhosts