From 7d64601a8cd305dd3634622c771bbb5c53b32e42 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 21 Mar 2025 17:18:24 +0100 Subject: [PATCH] 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 --- tests/sshserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.47.2