Skip to content

Conversation

devlinx9
Copy link

When the host is added to known_hosts and it supports rsa-sha2-256 or rsa-sha2-512, the filterKnownHostKeyAlgorithms method put first ssh-rsa before the newer versions. That's because the signature is ssh-rsa in the known_hosts file. if the server only accepts as its first or only method rsa-sha2-512, the connection will fail since the preferred method on the client side is still the outdated ssh-rsa.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant