...
코드 블럭 | ||
---|---|---|
| ||
# vi /etc/ssh/sshd_config Port 2222 # vi /etc/passwd root:x:0:0:root:/root:/bin/bash # mkdir -p /root/.ssh # chmod 700 /root/.ssh # touch /root/.ssh/authorized_keys # chmod 600 /root/.ssh/authorized_keys # vi /root/.ssh/authorized_keys Add your ssh pubkey # systemctl enable --now ssh |
qemu-guest-agent
코드 블럭 | ||
---|---|---|
| ||
# apt update # apt install qemu-guest-agent |
...