mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
tests/sshserver.pl: re-enable ssh-rsa while using openssh 8.8+
Ref: #9738
This commit is contained in:
parent
52cc4a85fd
commit
666bad45fe
@ -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…
Reference in New Issue
Block a user