It's very odd, ssh-ed25519 is still the first method in the list in kex.c
The file is long look for the name: libssh2_kex_methods[]
The reason seems to be that libssh2 now prefers a new key exchange scheme named "kex-strict-s-v00@openssh.com" which isn't a new method, it just works around some security issues (man in the middle attack).
My guess is that the library now picks the key exchange method recommended by the server instead of the method at the top of the list on the client.
The file is long look for the name: libssh2_kex_methods[]
The reason seems to be that libssh2 now prefers a new key exchange scheme named "kex-strict-s-v00@openssh.com" which isn't a new method, it just works around some security issues (man in the middle attack).
My guess is that the library now picks the key exchange method recommended by the server instead of the method at the top of the list on the client.
Statistics: Posted by ghisler(Author) — 2025-04-22, 20:13 UTC