first (insecure) cloud-init configuration
This commit is contained in:
10
ubuntu-cloud-server-2404-bios/cloud_init.cfg
Normal file
10
ubuntu-cloud-server-2404-bios/cloud_init.cfg
Normal file
@@ -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