summaryrefslogtreecommitdiff
path: root/lorry-ssh-wrapper
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-04-23 16:36:55 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-04-23 16:36:55 +0000
commitede3f337e9769b0e6756d4b9cc37d33aa62b82ba (patch)
tree994f0723f177eb5ac279b0a0b28beb611963070e /lorry-ssh-wrapper
parent5afef32028fbcacb7acc3d0318407169dd2353de (diff)
parent89974c3363a3f8467e471aa0bf78ea65e6e03929 (diff)
downloadlorry-ede3f337e9769b0e6756d4b9cc37d33aa62b82ba.tar.gz
Merge branch 'baserock/liw/new-lc-2'
Daniel and Richard reviewed the original set of changes, and Richard my further changes based on review feedback. Reviewed-by: Daniel Silverstone Reviewed-by: Richard Maw
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 "$@"