-
Notifications
You must be signed in to change notification settings - Fork 682
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
Inspec SSH fails to connect to server with KEX error #6660
Comments
@reallyseaneverson How are you using InSpec here? Is it installed as standalone omnibus installer or via gem or other? |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using inspec to ssh to an AKS node on Azure I am seeing an error:
The target server is hardened to only support the curve25519 for key exchange. I am able to ssh to the box with both the ssh client binary and also with a Net::SSH test script:
Outputs: /home/admin
Net::SSH is working properly and will negotiate the proper KEX, but I can not connect to this system with inspec, it appears to be using a different set of algos.
I tried to set the ssh config file for my host to use the right KEX algo, but the settings there appear to be ignored.
Any suggestions for how to configure inspec to use the proper kex or to debug this further?
Inspec version: 5.22.3
Net-ssh 7.2.0
Thanks!
The text was updated successfully, but these errors were encountered: