[Bug 3612] New: sshd_config configuration options: MaxAuthTries and MaxSessions

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Sep 7 17:20:36 AEST 2023


https://bugzilla.mindrot.org/show_bug.cgi?id=3612

            Bug ID: 3612
           Summary: sshd_config configuration options: MaxAuthTries and
                    MaxSessions
           Product: Portable OpenSSH
           Version: 8.2p1
          Hardware: ARM64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: maggiezhuooo at 163.com

1. changed MaxAuthTries to 7 (to allow for four password verifications
after none, publickey, and keyboard-interactive), but it didn't work, I
tried changing the option to a larger number, and the password
verification was still only three times.
    2. change MaxSessions to 2, I hope at the same time, only two
sessions can connect to sshd, I connected a linux board on the server,
in the board's sshd_config configure the item to 2. through the local
computer ssh connection to the server, and then through the ssh
connection to the board (the board is assigned a local ip address),
I've opened three terminal windows, and I can still connect to all of
them.
    How do I configure this to achieve my goal?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list