From 3cc914e7e27627c9db75cbd95cf6b8d54d641f8a Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 20 Jan 2023 17:10:55 +0100 Subject: use ssh option NoHostAuthenticationForLocalhost --- bin/debvm-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/debvm-run b/bin/debvm-run index 0ef8740..7847cba 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -39,7 +39,7 @@ By default F in the working directory is used. If given, B 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 + ssh -o NoHostAuthenticationForLocalhost=yes -p $sshport root@127.0.0.1 =item B<--> I -- cgit v1.2.3