summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-07-21 14:26:00 +0200
committerxengineering <me@xengineering.eu>2024-07-21 14:26:00 +0200
commitc1adc25b1d4e0190ba1e38c9f4ea468770f1bb22 (patch)
treee0164d791fbc548158065ef50fb3a5297f3e89c3 /README.md
parent2e59b2390e27df6f5be576db8a56e2f14f269bcc (diff)
downloadcraft-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.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 683169a..31ec98c 100644
--- a/README.md
+++ b/README.md
@@ -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
+```