Giter VIP home page Giter VIP logo

Comments (10)

celine168 avatar celine168 commented on May 4, 2024 2

I know this is an old issue, but this is what it says in etc/fail2ban/jail.d/defaults-debian.conf:

[sshd]
enabled = true

from how-to-secure-a-linux-server.

lgaida avatar lgaida commented on May 4, 2024 2

I'm setting up a server with on Debian 10 (Buster)
and i'm also getting name 'noduplicates' is not defined
after running sudo fail2ban-client add sshd

However sudo fail2ban-client status still lists sshd
and even sudo fail2ban-client status sshd prints the expected output as per README.md

As celine168 and hellresistor already said: looks like you don't have to add sshd on your own since it is enabled by default

from how-to-secure-a-linux-server.

imthenachoman avatar imthenachoman commented on May 4, 2024

What is the output of sudo grep -i -R noduplicates /etc/fail2ban?

from how-to-secure-a-linux-server.

Destarianon avatar Destarianon commented on May 4, 2024

The output is completely blank.

from how-to-secure-a-linux-server.

imthenachoman avatar imthenachoman commented on May 4, 2024

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.

from how-to-secure-a-linux-server.

Destarianon avatar Destarianon commented on May 4, 2024

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.

from how-to-secure-a-linux-server.

imthenachoman avatar imthenachoman commented on May 4, 2024

Did you take a backup? What was in the [sshd] jail from the default configuration?

from how-to-secure-a-linux-server.

siebenbrunner avatar siebenbrunner commented on May 4, 2024

fyi, I had the same issue, and simply changing [sshd] to [ssh] and then running sudo fail2bain-client add ssh fixed it. Also, I added the whole section in the /etc/fail2ban/jail.local file instead of creating a separate one.

from how-to-secure-a-linux-server.

hellresistor avatar hellresistor commented on May 4, 2024

I think Isn't needed add the sshd because are inside of jail.local file and/or /jail.d/defaults-debian.conf

from how-to-secure-a-linux-server.

imthenachoman avatar imthenachoman commented on May 4, 2024

Closing as this issue seems resolved. Thanks!

from how-to-secure-a-linux-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.