How to see a list of IP address blocked by DenyHosts on Linux or Unix

Fig.02: How to see a list of IP address blocked by DenyHosts on Linux or Unix

Fig.02: How to see a list of IP address blocked by DenyHosts on Linux or Unix

To see a list of IP address blocked by denyhosts intrusion prevention system, enter:
$ cat /etc/hosts.deny
OR
$ sudo more /etc/hosts.deny
Sample outputs:

# /etc/hosts.deny: list of hosts that are _not_ allowed to access the system.
#                  See the manual pages hosts_access(5) and hosts_options(5).
#
# Example:    ALL: some.host.name, .some.domain
#             ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name "rpcbind" for the
# daemon name. See rpcbind(8) and rpc.mountd(8) for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address.
#
# You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOID

sshd: 88.252.156.59
sshd: 15.203.227.254
sshd: 141.105.65.134
sshd: 106.51.255.21
sshd: 213.184.230.94
sshd: 91.187.132.56
sshd: 82.113.72.174
sshd: 210.211.121.59
sshd: 185.110.132.202
sshd: 203.124.120.147
sshd: 167.114.61.193
sshd: 193.201.225.171
sshd: 121.156.90.110
sshd: 110.19.204.18
sshd: 163.172.87.229
sshd: 123.30.37.44
sshd: 60.250.157.222
sshd: 78.56.6.211
sshd: 75.146.185.254
sshd: 193.201.224.199

Examples and usage: How to install denyhosts on Ubuntu Linux 16.04 LTS ( intrusion prevention security tool )