diff options
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -130,3 +130,17 @@ qemu-system-x86_64 \ -smp cpus=4 \ -nographic ``` + +## Use SSH to log into guest virtual machine + +Since the SSH server of the guest VM is available to the host on localhost port +9999 it is possible to use the `ssh` command to log into the VM from the host +using the password set in image creation with the `passwd` command. + +``` +ssh \ + -p 9999 \ + -o UserKnownHostsFile=/dev/null \ + -o StrictHostKeyChecking=no \ + root@localhost +``` |