I have a user that is getting blocked by denyhosts
on a daily basis after some initial problems and confusion with keys, passwords, account names and such, even though I keep unblocking him.
When I went to /var/lib/denyhosts
(WORKDIR
specified in /etc/denyhosts.conf
) and inspected the files for his IP, I found him in hosts
, hosts-root
, hosts-valid
, users-hosts
and hosts-restricted
. Now, if I understand correctly, hosts-restricted
is the landing place for those who get blocked by repeatedly logging in as one of the users listed in /var/lib/denyhosts/restricted-usernames
... but I never created such a file, and reading the docs failed to uncover a default list that would be in use if that file did not exist.
How did my user manage to get himself on the restricted login list if no logins are restricted?