Oracle Linux - ssh_genkeytypes set to null in /etc/cloud/cloud
in Linux
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.
Tagged:
0