How to enable root password authentication with cloud-init in instances of Red Hat OpenStack Platform
Issue
By cloud-init when starting RHEL 7 instance sshd_config of sshd is rewritten and PasswordAuthentication yes
becomes PasswordAuthentication no
.
How to does the user-data
cloud config need to be configured in order to enable password authentication for the root user?
Environment
Red Hat Enterprise Linux OpenStack Platform 6.0 and above
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.