mirror of
https://github.com/libssh2/libssh2.git
synced 2026-01-27 00:18:12 +03:00
0cb83514942bccf797c0b622296e283d0cfb2d9e
Reorders the hostkey_methods array to prioritize ED25519 host keys over ECDSA curves, aligning libssh2 with OpenSSH's default behavior. As noted in issue #1782, industry usage has shifted to prefer ED25519 Previous order: ECDSA (nistp256/384/521 + certificates) **ED25519 (ssh-ed25519 + certificates)** RSA (SHA2-512, SHA2-256, SHA1) DSA New order: **ED25519 (ssh-ed25519 + certificates)** ECDSA (nistp256/384/521 + certificates) RSA (SHA2-512, SHA2-256, SHA1) DSA Testing: Existing test suites should pass without modification References: OpenSSH HostKeyAlgorithms default order: - https://man.openbsd.org/sshd_config#HostKeyAlgorithms - https://man.openbsd.org/ssh_config#HostKeyAlgorithms Fixes #1782 Signed-off-by: Hemant Jadhav <hemant.jadhav@emerson.com>
libssh2 - SSH2 library
libssh2 is a library implementing the SSH2 protocol, available under the revised BSD license.
Installation instructions:
Description
libssh2 - это библиотека, реализующая протокол SSH2, доступная по пересмотренной лицензии BSD
Languages
C
84.8%
M4
3.6%
CMake
3.5%
Shell
2.6%
Perl
1.9%
Other
3.3%