You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting error:
[SSH] connection failed, retrying in 30 seconds (#<Net::SSH::AuthenticationFailed: Authentication failed for user ubuntu@>)
Is Ubuntu-22 supported??
The text was updated successfully, but these errors were encountered:
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.
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:
- 1
always_update_cookbooks: true
verifier:
name: inspec
platforms:
driver:
name: azurerm
subscription_id: 'eXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'
location: 'southeastasia'
machine_size: 'Standard_A2'
retry_limit: 10
image_urn: Canonical:0001-com-ubuntu-server-jammy:22_04-lts:22.04.202404090
username: ubuntu
vm_name: ifcicd-imageFactoryKitchenInstance
vnet_id: /subscriptions/exxxxxxxxxxxxxxxxx/resourceGroups/IxxxxxxxxNext/providers/Microsoft.Network/virtualNetworks/ifVnet
subnet_id: Imagefactorynextsubnet
public_ip: true
vm_tags:
Name: 'ifcicd-[img_fact_ubuntu22::ubuntu-22]kitchen instance for chef converge'
created-by: 'Kitchen'
data_disks:
- lun: 0
disk_size_gb: 4
transport:
name: sftp
ssh_key: /home/jenkins/ssh/kitchen_azure
username: ubuntu
connection_retry_sleep: 30
connection_retries: 20
suites:
run_list:
attributes:
IF_Ubuntu-22_Azure:
account_id: <%= ENV['AWS_ARTIFACTORY_TOKEN_USER'] %>
api_key: <%= ENV['AWS_ARTIFACTORY_TOKEN'] %>
org_custom_configs:
edr:
default_cid: <%= ENV['FALCON_CID'] %>
so-falcon_sensor:
default_cid: <%= ENV['FALCON_CID'] %>
do_falcon_cleanup: false
artifactoy:
user: <%= ENV['AWS_ARTIFACTORY_TOKEN_USER'] %>
api_key: <%= ENV['AWS_ARTIFACTORY_TOKEN'] %>
verifier:
inspec_tests:
Getting error:
[SSH] connection failed, retrying in 30 seconds (#<Net::SSH::AuthenticationFailed: Authentication failed for user ubuntu@>)
Is Ubuntu-22 supported??
The text was updated successfully, but these errors were encountered: