Displaying 1 result from an estimated 1 matches for "a10f929d1".
2024 Jan 18
2
[Bug 3657] New: AuthenticationMethods any apparently not possible after previous non-any assignment
...Ubuntu-3ubuntu0.6, OpenSSL 3.0.2 15 Mar 2022
# sshd -T
/etc/ssh/sshd_config line 124: "any" must appear alone in
AuthenticationMethods
It is okay for e.g.
# ssh -V
OpenSSH_8.2p1 Ubuntu-4ubuntu0.11, OpenSSL 1.1.1f 31 Mar 2020
I think I have narrowed it down to the code change in commit a10f929d1,
between 8.6 and 8.7:
servconf.c:process_server_config_line_depth(...)
case sAuthenticationMethods:
...
The code, before and after this change, rejects "any" if
options->num_auth_methods>0.
The working code ensures this to be 0 at the start of the loop with a
surrounding if...