summaryrefslogtreecommitdiff
path: root/debvm-run
diff options
context:
space:
mode:
authorHelmut Grohne <helmutg@debian.org>2023-01-03 11:26:59 +0000
committerHelmut Grohne <helmutg@debian.org>2023-01-03 11:26:59 +0000
commit59f9267f6f884afc9b90d6040365176fb455f30c (patch)
tree7237842746cade76b3860b3782137283b94e6fc7 /debvm-run
parent84cc5e4258ce543e72d082565e167cf71a25f5cc (diff)
parent45d00c2d54d8466a52262b7491f4a18279e398e3 (diff)
downloaddebvm-59f9267f6f884afc9b90d6040365176fb455f30c.tar.gz
Merge branch 'ssh' into 'main'
some ssh related improvements See merge request helmutg/debvm!14
Diffstat (limited to 'debvm-run')
-rwxr-xr-xdebvm-run3
1 files changed, 3 insertions, 0 deletions
diff --git a/debvm-run b/debvm-run
index 1e1b3d8..9b64ef4 100755
--- a/debvm-run
+++ b/debvm-run
@@ -37,6 +37,9 @@ By default B<rootfs.ext4> in the working directory is used.
=item B<-s> I<sshport>, B<--sshport>=I<sshport>
If given, B<qemu> is configured to pass connections to I<127.0.0.1:sshport> to port 22 of the virtual machine.
+You can connect to your virtual machine without updating your known hosts like this:
+
+ ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p $sshport root@127.0.0.1
=item B<--> I<qemu options>