Open alpana17 opened 4 months ago
what version of test-kitchen and kitchen-azure are you running? Can you also see which net-ssh gem version you have. Version below 7.x doesn't support the newer ssh algorithms newer servers are supporting and they dropped support for the default rsa keys with less than 1024 bits.
Using test-kitchen 2.7.2 kitchen-azurerm 1.4.0 net-ssh 6.1.0
Please suggest
you'll need to upgrade your gems to fix your issues.
Here is my kitchen.yml `driver: name: azurerm retryable_tries: 120
transport: name: sftp ssh_key: /home/jenkins/ssh/kitchen_azure username: ubuntu connection_retry_sleep: 30 connection_retries: 20
provisioner: name: chef_zero product_name: chef product_version: 16.10.8 max_retries: 4 wait_for_retry: 200 retry_on_exit_code:
verifier: name: inspec
platforms:
suites:
Getting error: [SSH] connection failed, retrying in 30 seconds (#<Net::SSH::AuthenticationFailed: Authentication failed for user ubuntu@>) Is Ubuntu-22 supported??