A little help for SSH access into a headless VM

As I learned today on the Discord server.
This commit is contained in:
Dale Visser 2022-02-23 17:41:58 -05:00 committed by GitHub
parent 22e95b4e74
commit 3bee087543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -436,6 +436,14 @@ SSH and SPICE ports the VM is connected to.
cat ubuntu-focal/ubuntu-focal.ports
```
If, for example, the SSH port is set to 22220, and assuming your VM has
a started SSH service (details vary by OS), you can typically SSH into
it from the host as follows:
``` {.bash}
ssh -p 22220 your_vm_user@localhost
```
Accessibility
=============