Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Ssh lockout please help!!!!

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    5 Posts 3 Posters 9.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • _
      _igor_
      last edited by

      Due to missing users i got a ssh-lockout. Looking around I found in config.xml this: usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 sshlockout
      executing via the webif the command with -t 0 had no effect.
      Restarting ssh without any effect. How can I reset the anti-lockout manually????

      1 Reply Last reply Reply Quote 0
      • S
        stompro
        last edited by

        I also found the ssh lockout to be incredibly frustrating.  I would vote to have more sane limits for the ssh lockout rules.  Maybe something like 5 failed logins in one hour gets you locked out, not one failed login.
        Josh

        Hardware used: Alix 2D13 X 10, APU2D4 X 10, SG-2200 X 10, SG-2440 X 4

        1 Reply Last reply Reply Quote 0
        • _
          _igor_
          last edited by

          Its 5 attempts, but would be nice to know how reset it manually

          1 Reply Last reply Reply Quote 0
          • S
            stompro
            last edited by

            Sorry, I was going off of an old experience I had.  I thought it was one.
            Josh

            Hardware used: Alix 2D13 X 10, APU2D4 X 10, SG-2200 X 10, SG-2440 X 4

            1 Reply Last reply Reply Quote 0
            • W
              whitediode
              last edited by

              you can unlock the ssh lockout by typing
              #pfctl -t sshlockout -T flush
              from the webgui command page

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.