wireguard-setup/packer/qemu/http/seed/user-data

10 lines
224 B
Plaintext
Raw Normal View History

2020-01-26 11:59:13 +01:00
#cloud-config
ssh_pwauth: true
disable_root: false
chpasswd: { list: ["root:toor"], expire: false }
runcmd:
2020-09-29 23:02:32 +02:00
- sed -ni '/^PermitRootLogin\s/!p;$aPermitRootLogin yes' /etc/ssh/sshd_config
2020-01-26 11:59:13 +01:00
- systemctl restart ssh.service