You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle Linux - ssh_genkeytypes set to null in /etc/cloud/cloud

Applies To:

Oracle Cloud Infrastructure

Oracle Linux

Symptoms:

While performing an update by executing sudo yum update this message is shown:

warning: /etc/cloud/cloud.cfg created as /etc/cloud/cloud.cfg.rpmnew
Running scriptlet: cloud-init-23.4-7.0.2.el8_10.8.noarch                  143/483
*** WARNING!!!! ***
ssh_genkeytypes set to null in /etc/cloud/cloud.cfg!
SSH access might be broken after reboot. Please check the following KCS

Cause:

Previous default configuration was to use

ssh_genkeytypes: ~

However since version cloud-init-20.3-10 (OL 8.4) the default changed to

ssh_genkeytypes:  ['rsa', 'ecdsa', 'ed25519']

Solution:

This warning must not be ignored since it can cause loss of SSH connectivity.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!