I'm adding the openssh package to this bug, as the default configuration file has a Debian/Ubuntu-specific include directory configured and I think we should add an appropriate comment to inform the user that files included in the directory may override the configuration items in ssd_config. This wouldn't be something added by cloud-init, but something shipped in the openssh package itself.
Perhaps something like: ---- # The files included in the following directory may contain options # that override the options in the current file. Configuration tools # such as cloud-init may populate this directory in a default # installation. Include /etc/ssh/sshd_config.d/*.conf ---- ** Also affects: openssh (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2088207 Title: cloud-init enables ssh password auth in an unexpected config file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2088207/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs