summaryrefslogtreecommitdiff
path: root/tests/home/testuser/.ssh/proxy-command
diff options
context:
space:
mode:
Diffstat (limited to 'tests/home/testuser/.ssh/proxy-command')
-rwxr-xr-xtests/home/testuser/.ssh/proxy-command8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/home/testuser/.ssh/proxy-command b/tests/home/testuser/.ssh/proxy-command
new file mode 100755
index 0000000..21c66fa
--- /dev/null
+++ b/tests/home/testuser/.ssh/proxy-command
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+# simple socket-based proxy-command wrapper for testing monkeysphere.
+
+# pass this thing the host, the port, and the socket.
+
+monkeysphere-ssh-proxycommand --no-connect "$1" "$2" && \
+exec socat STDIO UNIX:"$3"