From d1f04420a1890705d4c4965d3f3296edee578920 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sat, 23 Jun 2018 23:43:45 +0100 Subject: Disable strict host key checking So that SSH can run without requiring manual intervention. This shouldn't pose a security risk, as the network should be trusted. --- lib/shell_utils.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/shell_utils.rb b/lib/shell_utils.rb index 5ce8959..0cd8947 100644 --- a/lib/shell_utils.rb +++ b/lib/shell_utils.rb @@ -30,6 +30,8 @@ module ShellUtils command = [ 'ssh', + # Use a automatically trust on first use model + '-o', 'StrictHostKeyChecking=no', run_remotely_on_host, *command ] -- cgit v1.2.3