From a9399e57a067ea1f5855636d0c9e1a42c3d9d983 Mon Sep 17 00:00:00 2001 From: Guillaume Date: Thu, 15 Jun 2023 00:09:23 +0200 Subject: [PATCH] Prevent using UserKnownHostFile by default with automated tasks --- scripts/.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/.common b/scripts/.common index 4742d30..928ee54 100644 --- a/scripts/.common +++ b/scripts/.common @@ -14,7 +14,7 @@ perror() { } sshcmd() { - ssh -o StrictHostKeyChecking=no $* + ssh -o StrictHostKeyChecking=no -o UserKnownHostFiles=/dev/null $* } dls() {