[Bug 3381] New: RekeyLimit mechanism does not work if it is defined at the end of the file

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Jan 17 20:11:56 AEDT 2022


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

            Bug ID: 3381
           Summary: RekeyLimit mechanism does not work if it is defined at
                    the end of the file
           Product: Portable OpenSSH
           Version: 8.8p1
          Hardware: ix86
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: sshd
          Assignee: unassigned-bugs at mindrot.org
          Reporter: yaniv.german at gmail.com

Use this sshd_config file
https://exampleconfig.com/view/openssh-centos7-etc-ssh-sshd_config

Make sure RekeyLimit is comment-out with '#'. 
Add new RekeyLimit at the end of the file with time/quota limits.
Save the file and restart the service.
Test for rekey - see rekey does not occur. 

Re-edit the sshd_conf. Remove the new RekeyLimit from the end of the
file and place it near the original RekeyLimit line. 
Save the file and restart the service. 
Test for rekey - see rekey occurs as expected.

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


More information about the openssh-bugs mailing list