fail2ban
fail2ban copied to clipboard
service ssh not exists on Ubuntu 16.04
Launched the role with all defaults values. Needed to change [ssh] to [sshd] to be able to start fail2ban.
This is the default conf for ssh when I install fail2ban to a clean ubuntu 16.04:
[sshd]
port = ssh
logpath = %(sshd_log)s
Is this normal to overwrite jail.conf even if it's recommended to create a local conf in an another file ?
Interesting. Perhaps we need to change the config on Ubuntu 16.04. Contributions would be welcome for either this fix, or the (what I also believe is proper) use of a local conf.
Interesting. Perhaps we need to change the config on Ubuntu 16.04. Contributions would be welcome for either this fix or the (what I also believe is proper) use of a local conf.
I concur. I wonder if this is still a problem.