10 lines
208 B
Plaintext
10 lines
208 B
Plaintext
|
#cloud-config
|
||
|
|
||
|
ssh_pwauth: true
|
||
|
disable_root: false
|
||
|
chpasswd: { list: ["root:toor"], expire: false }
|
||
|
|
||
|
runcmd:
|
||
|
- printf '%s\n' 'PermitRootLogin yes' >> /etc/ssh/sshd_config
|
||
|
- systemctl restart ssh.service
|