Mailing List Archive

[Bug 3381] New: RekeyLimit mechanism does not work if it is defined at the end of the file
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@mindrot.org
Reporter: yaniv.german@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs