Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ssh client - supported host keys need to be sorted #56

Open
samrushing opened this issue Nov 6, 2013 · 1 comment
Open

ssh client - supported host keys need to be sorted #56

samrushing opened this issue Nov 6, 2013 · 1 comment

Comments

@samrushing
Copy link
Member

When we send kexinit to the server, we give it a list of supported host key types. If we have e.g. an RSA key in our known_hosts file, but do not place RSA at the front of the list, then we'll get an Invalid_Server_Public_host_Key because the server always offers DSS first. (apparently there's no retry?)

@samrushing
Copy link
Member Author

My evidence for this theory is in the output from -v -v -v:

debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],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

No branches or pull requests

1 participant