Brett, I think Marc's 'only if cloud-init needs to overwrite the value
to "no"' was less about the existing sshd configuration (afterall, if
cloud-init is running, did the configuration have meaningful values ten
seconds earlier?) and more about the user-data being explicit that
passwords should be used in preference to ssh keys for logging in.

Certainly re-implementing sshd's parsing isn't ideal, even if
"understand the current configuration" is desired -- sshd -T should be
consulted, instead of trying to mimic what sshd -T does.

Thanks

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to