blob: 32a896ed83cbd7f5fff3cc2f153888064e43729b [file] [log] [blame]
alexz5b795142018-02-13 15:59:28 +01001#cloud-config
2debug: True
3ssh_pwauth: True
4disable_root: false
5chpasswd:
6 list: |
7 root:ho5uo7Uome5d
8# cloud-user:ho5uo7Uome5d
9 expire: False
10output: {all: '| tee -a /var/log/cloud-init-output.log'}
11runcmd:
12 - sed -i'.orig' -e's/PermitRootLogin.*/PermitRootLogin yes/g' -e's/PasswordAuthentication.*/PasswordAuthentication yes/g' /etc/ssh/sshd_config
13 - service sshd restart