[Bug 3381] 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
Tue Jan 18 08:52:42 AEDT 2022
https://bugzilla.mindrot.org/show_bug.cgi?id=3381
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
To can also use config-test mode ("/path/to/sshd -T") to dump the
effective configuration to stdout.
$ cat /tmp/sshd_config
RekeyLimit 3G 1h
$ sudo /usr/sbin/sshd -f /tmp/sshd_config -T | grep rekeylimit
rekeylimit 3221225472 3600
$ wget -O sshd_config.example
http://exampleconfig.com/static/raw/openssh/centos7/etc/ssh/sshd_config
$ echo "RekeyLimit 3G 1h" >>/tmp/sshd_config.example
$ sudo /usr/sbin/sshd -f /tmp/sshd_config.example -T | grep rekeylimit
rekeylimit 3221225472 3600
Can you provide the problematic config? Does it have an uncommented
Match statement in there somewhere?
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list