[Bug 4044] New: max_pk_ok default not set when PubkeyAuthOptions is specified

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Oct 28 02:44:28 AEDT 2026


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

            Bug ID: 4044
           Summary: max_pk_ok default not set when PubkeyAuthOptions is
                    specified
           Product: Portable OpenSSH
           Version: 10.6p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: zfridric at redhat.com

Created attachment 4015
  --> https://bugzilla.mindrot.org/attachment.cgi?id=4015&action=edit
Bug fix

Documentation for max_pk_ok states the default is 6.

When I don't specify PubkeyAuthOptions at all, the max_pk_ok is
correctly set to the default value 6.
When I specify PubkeyAuthOptions without max_pk_ok, the max_pk_ok is
set to -1 instead, which based on the documentation I would not expect.

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


More information about the openssh-bugs mailing list