summaryrefslogtreecommitdiff
path: root/lorry-ssh-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'lorry-ssh-wrapper')
-rwxr-xr-xlorry-ssh-wrapper5
1 files changed, 5 insertions, 0 deletions
diff --git a/lorry-ssh-wrapper b/lorry-ssh-wrapper
new file mode 100755
index 0000000..c4e2c1d
--- /dev/null
+++ b/lorry-ssh-wrapper
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Run ssh without strict host key checking.
+
+set -eu
+exec ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null "$@"