From 6dcc3d0ef312512a821455e0f30184ac9e39d9a3 Mon Sep 17 00:00:00 2001 From: "Bastian (BaM)" Date: Mon, 15 Sep 2025 09:34:00 +0200 Subject: [PATCH] Update SSH command options to disable strict host key checking and comment out known hosts file option for improved flexibility. --- scripts/ssh.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ssh.lua b/scripts/ssh.lua index 59b8237..5c7d6e0 100644 --- a/scripts/ssh.lua +++ b/scripts/ssh.lua @@ -99,8 +99,8 @@ function ssh_module.execute_with_output(command, user, host, port, identity_file "-o", "ConnectTimeout=30", "-o", "ServerAliveInterval=5", "-o", "ServerAliveCountMax=1", - "-o", "UserKnownHostsFile=/root/.ssh/known_hosts", - "-o", "StrictHostKeyChecking=yes", + -- "-o", "UserKnownHostsFile=/root/.ssh/known_hosts", + "-o", "StrictHostKeyChecking=no", } if identity_file ~= "" then