This commit is contained in:
Héctor Molinero Fernández
2020-01-29 20:46:09 +01:00
parent 06f7c9ee75
commit 1abc1d8631
6 changed files with 49 additions and 50 deletions

9
qemu/http/seed/user-data Normal file
View File

@@ -0,0 +1,9 @@
#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