summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2021-04-11 08:46:33 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2021-04-11 08:49:01 +0300
commit7dfbfb281fa4f7ac66c5debbbe3abfc5ca7015fd (patch)
tree796ac2fd4243602bbaf5e41395987c9f8811f291
parent2cb575dcc2836a825ea898492ee6c2c42e1410d1 (diff)
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.
-rw-r--r--doc/guix.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 218ff35ce9..bb86195a25 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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.