-
Notifications
You must be signed in to change notification settings - Fork 188
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
RSA key no longer accepted by OpenSSH 8.8+ #480
Comments
I believe this is related to the same issue rhel 9 systems are also having with new encryption algorithms and old ones not being supported. The proper fix is to get net-ssh v7.x integrated into the test-kitchen build which is having an issue with net-scp not allowing anything above 6.x in it's dependencies. test-kitchen/test-kitchen#1904 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brief Description
Starting from OpenSSH 8.8, it no longer accepts RSA keys by default, causing kitchen creation failure. Manually SSH into the VM using the same key works but for some reason Test Kitchen fails to do so.
Version
Environment
N/A
Scenario
Normal test kitchen run.
Steps to Reproduce
ubuntu-22.04
inkitchen.yml
:kitchen create
orkitchen converge
Expected Result
Kitchen creation succeeds.
Actual Result
Kitchen creation stuck at "Waiting for SSH service on 127.0.0.1:2222, retrying in 3 seconds"
Additional context
Verbose logging shows authentication failure
Manually SSH into the VM works
Auth log shows RSA key not accepted.
After adding the following lines to
sshd_config
, the issue is resolvedThe text was updated successfully, but these errors were encountered: