1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# # Set password of default user # cloud_config: | #cloud-config password: password chpasswd: { expire: False } ssh_pwauth: True collect_scripts: shadow: | #!/bin/bash cat /etc/shadow sshd_config: | #!/bin/bash grep '^PasswordAuth' /etc/ssh/sshd_config # vi: ts=4 expandtab