How to Install and Uninstall denyhosts Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 18,2024

1. Install "denyhosts" package

This is a short guide on how to install denyhosts on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install denyhosts

2. Uninstall "denyhosts" package

Please follow the guidelines below to uninstall denyhosts on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove denyhosts $ sudo apt autoclean && sudo apt autoremove

3. Information about the denyhosts package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: denyhosts
Priority: optional
Section: universe/net
Installed-Size: 287
Maintainer: Ubuntu Developers
Original-Maintainer: Jan-Pascal van Best
Architecture: all
Version: 2.10-2
Depends: lsb-base (>= 3.1-13), python:any (>= 2.7.5-5~), init-system-helpers (>= 1.18~)
Filename: pool/universe/d/denyhosts/denyhosts_2.10-2_all.deb
Size: 56472
MD5sum: d1656b87c74dd17fec1c3495b63267d0
SHA1: 77831b3b432e99d254d8cc62517c8f359965af92
SHA256: 9dc6e26093557ea0134533a02b430cb6419398915a67901b901b978cde61bb2d
Description-en: Utility to help sys admins thwart SSH crackers
DenyHosts is a program that automatically blocks SSH
brute-force attacks by adding entries to /etc/hosts.deny.
It will also inform Linux administrators about offending
hosts, attacked users and suspicious logins.
.
Synchronization with a central server is possible too.
.
Differently from other software that do same work, denyhosts
doesn't need support for packet filtering or any other kind
of firewall in your kernel.
.
DenyHosts unfortunately does not support IPv6.
Description-md5: fdd0981fe99ef1efbc6bbfc537574b16
Homepage: https://github.com/denyhosts/denyhosts
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

5. The same packages on other Linux Distributions