Comment 6 for bug 2011291

Revision history for this message
James Falcon (falcojr) wrote :

Thanks for tracking that down. This is intentionally different. Cloud-init is replacing the behavior of sshd-keygen, which created host keys with those permissions. See:

https://github.com/canonical/cloud-init/pull/1971#discussion_r1084150227
and
https://github.com/canonical/cloud-init/pull/1070

According to that 2nd issue, RHEL has an issue if those permissions aren't the same. But these permissions do not work with OpenEuler? I can circle back and see if RHEL still requires those permissions, but if so we may need to introduce different permissions based on distro.