[Bug 3859] New: Multiple occurences of MaxStartups are note processed in the order specified

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Sep 1 21:25:49 AEST 2025


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

            Bug ID: 3859
           Summary: Multiple occurences of MaxStartups are note processed
                    in the order specified
           Product: Portable OpenSSH
           Version: 8.7p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: jan.v.hofmann at gmail.com

Hi,

when setting MaxStartups multiple times in sshd_config or included
files, I noticed that the last obtained value will be used, not the
first as is stated in the man pages. 

To reproduce, set in sshd_config:

MaxStartups 50:40:100
MaxStartups 100:30:1000

Then run `sshd -T | grep -i max` and you will see maxstartups
100:30:1000.

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


More information about the openssh-bugs mailing list