doc: Fix connect to the VM over SSH example.

* doc/guix.texi (Running Guix in a VM): Add host which connect to in
SSH connection example.
This commit is contained in:
Oleg Pykhalov 2021-04-11 08:46:33 +03:00
parent 2cb575dcc2
commit 7dfbfb281f
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -33529,7 +33529,7 @@ $(guix system vm config.scm) -nic user,model=virtio-net-pci,hostfwd=tcp::10022-:
To connect to the VM you can run
@example
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 10022 localhost
@end example
The @command{-p} tells @command{ssh} the port you want to connect to.