~smoser/cloud-init/snappy

Viewing all changes in revision 1046.

  • Committer: Scott Moser
  • Date: 2014-12-08 20:47:37 UTC
  • Revision ID: smoser@ubuntu.com-20141208204737-74uvdle2k0waqqiq
explicitly disable ssh password auth in default config

In cloud images, sshd's PasswordAuthentication is not enabled.
So having the default be "no change" is ok there.

But in snappy, there is a user with known password, and only:
  #PasswordAuthentication yes
cloud-images have
  PasswordAuthentication no

Its better to expect the user to turn it on.

Also, the fix here is to allow setting to 'unchanged' explicitly
to make no change.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: