block SSH attacks on Linux with denyhosts (centOS7)
How To Install and Configure DenyHosts in CentOS 7 for preventing the violent cracking on ssh 防止ssh被暴力破解:denyhost工具 DenyHosts is an open-source python-based tool developed by Phil Schwartz intended to prevent brute-force attacks and dictionary-based attacks on SSH servers. It is a log-based security tool. It is simple and the ability to configure rules manually. DenyHosts is widely used as an alternative to Fail2ban. If there have been too many invalid SSH login attempts it assume that it’s brute-force attacks or dictionary-based attacks and prevents the IP address from making any further attempts by adding it to /etc/hosts.
…