1
0
Fork 0

wfvm: disable SSH host key warning messages

This commit is contained in:
Sebastien Bourdeauducq 2020-06-17 23:42:22 +08:00
parent 0f99ffc583
commit ab90fc88f6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ rec {
] ++ extraFlags;
# Pass empty config file to prevent ssh from failing to create ~/.ssh
sshOpts = "-F /dev/null -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=1";
sshOpts = "-F /dev/null -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR -o ConnectTimeout=1";
win-exec = pkgs.writeShellScriptBin "win-exec" ''
${pkgs.sshpass}/bin/sshpass -p1234 -- \
${pkgs.openssh}/bin/ssh -np 2022 ${sshOpts} \