In order to reduce the software scan SSH login or use this better than the default port number 22 also need to change the login password and do not use weak password 123456 such
Description
DenyHosts is a python program, automatically blocks SSH attacks by adding entries to/etc/hosts.deny.
DenyHosts would also inform Linux administrators about offending hosts, attacked users and suspicious logins.
Official Address http://denyhosts.sourceforge.net/
http://sourceforge.net/projects/denyhosts/
Http://jaist.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/DenyHosts-2.6.tar.gz
[Email protected] src]# CD/USR/LOCAL/SRC
If you do not have wget installed, use yum-install-y wget to install
Download denyhosts
[Email protected] src]# wget http://jaist.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/ Denyhosts-2.6.tar.gz
--2015-03-28 15:39:28--http://jaist.dl.sourceforge.net/project/denyhosts/denyhosts/2.6/DenyHosts-2.6.tar.gz
Parsing host jaist.dl.sourceforge.net (jaist.dl.sourceforge.net) ... 150.65.7.130, 2001:df0:2ed:feed::feed
Connecting Jaist.dl.sourceforge.net (jaist.dl.sourceforge.net) |150.65.7.130|:80 ... is connected.
An HTTP request has been made and is waiting for a response ... OK
Length: 42667 (42K) [Application/x-gzip]
Saving to: "Denyhosts-2.6.tar.gz"
100%[======================================>] 42,667 42.4kb/s spents 1.0s
2015-03-28 15:39:30 (42.4 kb/s)-Saved "denyhosts-2.6.tar.gz" [42667/42667])
Extract
[Email protected] src]#TAR-ZXVF denyhosts-2.6.tar.gz-c/usr/local/bin
denyhosts-2.6/
Denyhosts-2.6/pkg-info
denyhosts-2.6/denyhosts.py
Denyhosts-2.6/denyhosts.cfg-dist
denyhosts-2.6/setup.py
denyhosts-2.6/denyhosts/
denyhosts-2.6/denyhosts/prefs.py
denyhosts-2.6/denyhosts/report.py
denyhosts-2.6/denyhosts/lockfile.py
denyhosts-2.6/denyhosts/__init__.py
denyhosts-2.6/denyhosts/plugin.py
denyhosts-2.6/denyhosts/denyfileutil.py
denyhosts-2.6/denyhosts/deny_hosts.py
denyhosts-2.6/denyhosts/regex.py
denyhosts-2.6/denyhosts/sync.py
denyhosts-2.6/denyhosts/counter.py
denyhosts-2.6/denyhosts/old-daemon.py
denyhosts-2.6/denyhosts/util.py
denyhosts-2.6/denyhosts/daemon.py
denyhosts-2.6/denyhosts/python_version.py
denyhosts-2.6/denyhosts/allowedhosts.py
denyhosts-2.6/denyhosts/filetracker.py
denyhosts-2.6/denyhosts/loginattempt.py
denyhosts-2.6/denyhosts/restricted.py
denyhosts-2.6/denyhosts/purgecounter.py
denyhosts-2.6/denyhosts/version.py
denyhosts-2.6/denyhosts/constants.py
Denyhosts-2.6/changelog.txt
Denyhosts-2.6/license.txt
Denyhosts-2.6/daemon-control-dist
denyhosts-2.6/plugins/
Denyhosts-2.6/plugins/readme.contrib
denyhosts-2.6/plugins/shorewall_allow.sh
denyhosts-2.6/plugins/shorewall_deny.sh
denyhosts-2.6/plugins/test_deny.py
denyhosts-2.6/scripts/
denyhosts-2.6/scripts/restricted_from_invalid.py
denyhosts-2.6/scripts/restricted_from_passwd.py
Denyhosts-2.6/readme.txt
Denyhosts-2.6/manifest.in
[Email protected] src]# Cd/usr/local/bin
Go to Unzip folder
CD DenyHosts-2.6
CentOS 7 denyhosts installation anti-violence hack SSH Login