mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:03:39 +03:00
sshserver.pl: bump an sshd config to use its modern name
Ref: ee9c0da803
Closes #22460
This commit is contained in:
parent
0043b3fb8c
commit
c59b06c99c
1 changed files with 1 additions and 1 deletions
|
|
@ -612,7 +612,7 @@ if($sshdid !~ /OpenSSH-Windows/) {
|
|||
}
|
||||
if(($sshdid =~ /OpenSSH/) && ($sshdvernum >= 880) && ($keyalgo eq 'rsa')) {
|
||||
push @cfgarr, 'HostKeyAlgorithms +ssh-rsa';
|
||||
push @cfgarr, 'PubkeyAcceptedKeyTypes +ssh-rsa';
|
||||
push @cfgarr, 'PubkeyAcceptedAlgorithms +ssh-rsa'; # named PubkeyAcceptedKeyTypes in OpenSSH <8.5
|
||||
}
|
||||
push @cfgarr, '#';
|
||||
push @cfgarr, "Port $port";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue