mirror of
https://github.com/curl/curl.git
synced 2026-05-17 22:06:22 +03:00
tests/sshserver.pl: re-enable ssh-rsa while using openssh 8.8+
Ref: #9738
This commit is contained in:
parent
52cc4a85fd
commit
666bad45fe
1 changed files with 4 additions and 0 deletions
|
|
@ -551,6 +551,10 @@ push @cfgarr, "HostKey $hstprvkeyf_config";
|
|||
if ($sshdid !~ /OpenSSH-Windows/) {
|
||||
push @cfgarr, "PidFile $pidfile_config";
|
||||
}
|
||||
if(($sshdid =~ /OpenSSH/) && ($sshdvernum >= 880)) {
|
||||
push @cfgarr, 'HostKeyAlgorithms +ssh-rsa';
|
||||
push @cfgarr, 'PubkeyAcceptedKeyTypes +ssh-rsa';
|
||||
}
|
||||
push @cfgarr, '#';
|
||||
push @cfgarr, "Port $port";
|
||||
push @cfgarr, "ListenAddress $listenaddr";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue