mirror of
https://github.com/curl/curl.git
synced 2026-05-30 10:17:28 +03:00
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
This commit is contained in:
parent
72b163c301
commit
7d64601a8c
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue