first (insecure) cloud-init configuration
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
ssh_pwauth: true
|
||||||
|
chpasswd:
|
||||||
|
list: |
|
||||||
|
root:phyllome
|
||||||
|
expire: False
|
||||||
|
disable_root: false
|
||||||
|
|
||||||
|
runcmd:
|
||||||
|
- sed -i '/PermitRootLogin/s/.*/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||||
|
- systemctl restart sshd
|
||||||
Reference in New Issue
Block a user