-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail2Ban fails to add sshd jail #36
Comments
What is the output of |
The output is completely blank. |
Humm. I am not sure why you are getting that error. I can' find anything in the docs or online. Try posting on https://askubuntu.com/. I will keep looking too. |
I have worked around the issue by removing the [sshd] jail from the default configuration which seems to have cleared up the error, but doesn't really explain what caused it to begin with. |
Did you take a backup? What was in the [sshd] jail from the default configuration? |
I know this is an old issue, but this is what it says in
|
fyi, I had the same issue, and simply changing |
I think Isn't needed add the sshd because are inside of jail.local file and/or /jail.d/defaults-debian.conf |
I'm setting up a server with on Debian 10 (Buster) However As celine168 and hellresistor already said: looks like you don't have to add sshd on your own since it is enabled by default |
Closing as this issue seems resolved. Thanks! |
Using Ubuntu 18.04 when running the command
sudo fail2ban-client add sshd
I receive the error message:
name 'noduplicates' is not defined
The config file is exactly as described in the guide. All previous fail2ban commands ran successfully with no warnings.
The text was updated successfully, but these errors were encountered: