How to enable root password authentication with cloud-init in instances of Red Hat OpenStack Platform

Solution In Progress - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.