Open kebugcheckex opened 2 years ago
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. https://github.com/test-kitchen/test-kitchen/issues/1904
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 resolved