nix vm tests: fix ssh command

pull/8339/head
Jeffrey C. Ollie 2025-08-22 17:55:19 -05:00
parent f26a6b949c
commit 516c416fa4
No known key found for this signature in database
GPG Key ID: 6F86035A6D97044E
1 changed files with 2 additions and 2 deletions

View File

@ -395,8 +395,8 @@ Some test VMs are configured to allow outside SSH access for debugging. To
access the VM, use a command like the following: access the VM, use a command like the following:
``` ```
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=none -p 2222 root@192.168.122.1 ssh -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null -p 2222 root@192.168.122.1
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=none -p 2222 ghostty@192.168.122.1 ssh -o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null -p 2222 ghostty@192.168.122.1
``` ```
The SSH options are important because the SSH host keys will be regenerated The SSH options are important because the SSH host keys will be regenerated