summaryrefslogtreecommitdiff
path: root/lorry-ssh-wrapper
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-04-16 10:03:46 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-04-16 14:38:33 +0000
commit1c60a968ff0c678a6e286db95870947b01af0b7b (patch)
treea6c71663c6921e8d4ab54da157fdb35a3b2ae6d4 /lorry-ssh-wrapper
parentb9075de5c675a29b3d2447c2b9a38bcca2a86882 (diff)
downloadlorry-1c60a968ff0c678a6e286db95870947b01af0b7b.tar.gz
Run ssh via a wrapper that disables host key checking, for CVS
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 "$@"