From: Viktor Szakats Date: Fri, 21 Mar 2025 16:18:24 +0000 (+0100) Subject: sshserver.pl: adjust `AuthorizedKeysFile2` cutoff version X-Git-Tag: curl-8_13_0~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d64601a8cd305dd3634622c771bbb5c53b32e42;p=thirdparty%2Fcurl.git sshserver.pl: adjust `AuthorizedKeysFile2` cutoff version To avoid in `ssh_server.log`: ``` reprocess config line 6: Deprecated option AuthorizedKeysFile2 ``` with openssh 7.1 Closes #16787 --- diff --git a/tests/sshserver.pl b/tests/sshserver.pl index 063e37973a..fff6175e5d 100755 --- a/tests/sshserver.pl +++ b/tests/sshserver.pl @@ -609,7 +609,7 @@ if ($sshdid =~ /OpenSSH-Windows/) { } push @cfgarr, "AuthorizedKeysFile $clipubkeyf_config"; -if(!($sshdid =~ /OpenSSH/) || ($sshdvernum <= 730)) { +if(!($sshdid =~ /OpenSSH/) || ($sshdvernum <= 590)) { push @cfgarr, "AuthorizedKeysFile2 $clipubkeyf_config"; } push @cfgarr, "HostKey $hstprvkeyf_config";