Oefenweb / ansible-fail2ban

Ansible role to set up fail2ban in Debian-like systems
MIT License
117 stars 55 forks source link

typo in example for sshd #50

Closed koddo closed 6 years ago

koddo commented 6 years ago

It should be - name: sshd, not ssh.

Otherwise it fails to start with an error. An entry from journalctl -xe:

fail2ban-client[]: ERROR  Found no accessible config files for 'filter.d/ssh' under /etc/fail2ban
koddo commented 6 years ago

Forgot to mention it's on debian 9.4.

tersmitten commented 6 years ago

Thanks for your contribution. Just to clear things up. It's only called sshd in newer fail2ban versions (ubuntu-1604, debian-9). In earlier versions it was called ssh.

koddo commented 6 years ago

Oh, ok. I just fought some issues and this came up too, and the error is not immediately visible and obvious, the difference is one character in logs.

Thank you for this ansible role, it works great.