summaryrefslogtreecommitdiff
path: root/tests/home/testuser/.ssh/proxy-command
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2008-10-26 12:34:56 -0400
committerMicah Anderson <micah@riseup.net>2008-10-26 12:34:56 -0400
commit20e88948f035c56d51f07c53de50b75df57fc816 (patch)
treeb949e026bbf3687f05c1d98e1e22d9f9c0d31f62 /tests/home/testuser/.ssh/proxy-command
parent5722f3ce688ce4f71a7f3a4a3aa3d070c3e47014 (diff)
parenteef5c546af5f7a723be67303feee9b05b47b0fdb (diff)
Merge commit 'dkg/master'
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"