diff options
author | xengineering <me@xengineering.eu> | 2024-07-21 14:26:00 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-07-21 14:26:00 +0200 |
commit | c1adc25b1d4e0190ba1e38c9f4ea468770f1bb22 (patch) | |
tree | e0164d791fbc548158065ef50fb3a5297f3e89c3 /README.md | |
parent | 2e59b2390e27df6f5be576db8a56e2f14f269bcc (diff) | |
download | craft-c1adc25b1d4e0190ba1e38c9f4ea468770f1bb22.tar craft-c1adc25b1d4e0190ba1e38c9f4ea468770f1bb22.tar.zst craft-c1adc25b1d4e0190ba1e38c9f4ea468770f1bb22.zip |
Document how to log into the guest VM with SSH
Diffstat (limited to 'README.md')
-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 +``` |