Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set password auth in 50-cloud-init.conf for CentOS and RHEL systems
Azure 'reset password' feature overrides the /etc/ssh/sshd_config file and sets the PasswordAuthentication to 'yes'. Unfortunately, cloud-init versions 22.3 and newer sets 'PasswordAuthentication' to 'no' in the /etc/ssh/sshd_config.d/50-cloud-init.conf which overrides the setting in /etc/ssh/sshd_config file. VMAccess handles this for Ubuntu by setting PasswordAuthentication to 'yes' additionally in /etc/ssh/sshd_config.d/50-cloud-init.conf file. This change extends the same method to include CentOS and RHEL systems. Fixes: canonical/cloud-init#4335 Signed-off-by: Ani Sinha <anisinha@redhat.com>
- Loading branch information