summaryrefslogtreecommitdiff
path: root/backend/wrapped_ssh.sh
diff options
context:
space:
mode:
authorIkiWiki <ikiwiki.info>2019-09-02 13:51:05 -0400
committerIkiWiki <ikiwiki.info>2019-09-02 13:51:05 -0400
commit258fc3d7f7ba7983dcd3dac1429936227233eaf2 (patch)
treecf45cc431b692e07811a8e3d8f62abd5937755ec /backend/wrapped_ssh.sh
parent1e6e19dad98f517152aeba4e4f60a87a7731d648 (diff)
downloadstandingwithresilience-258fc3d7f7ba7983dcd3dac1429936227233eaf2.tar.gz
standingwithresilience-258fc3d7f7ba7983dcd3dac1429936227233eaf2.zip
fix ssh behavior on old ssh versions
Diffstat (limited to 'backend/wrapped_ssh.sh')
-rwxr-xr-xbackend/wrapped_ssh.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/backend/wrapped_ssh.sh b/backend/wrapped_ssh.sh
new file mode 100755
index 0000000..8281e9d
--- /dev/null
+++ b/backend/wrapped_ssh.sh
@@ -0,0 +1,6 @@
+#!/bin/env sh
+
+SCRIPTDIR="$( cd "$( dirname "$0" )" >/dev/null 2>&1 && pwd )"
+
+ssh -F "$SCRIPTDIR"/auth/ssh-config "$@"
+