From ba38143d9abb9cb44185c7ef5de2e7b7dc842f6c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 18 Apr 2019 23:40:03 +0800 Subject: [PATCH] qemu: cleanup UserKnownHostsFile --- artiq/windows/qemu.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/windows/qemu.nix b/artiq/windows/qemu.nix index 0cd52c4..cc73bed 100644 --- a/artiq/windows/qemu.nix +++ b/artiq/windows/qemu.nix @@ -32,7 +32,7 @@ let argStr = builtins.concatStringsSep " " (args ++ extraArgs); in "${qemu_kvm}/bin/qemu-system-x86_64 ${argStr}"; - sshOpts = "-o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/tmp/known_hosts"; + sshOpts = "-o StrictHostKeyChecking=accept-new -o UserKnownHostsFile=/dev/null"; ssh = cmd: '' echo ssh windows '${cmd}' ${sshpass}/bin/sshpass -p${sshPassword} -- \