summaryrefslogtreecommitdiff
path: root/tests/home/testuser
diff options
context:
space:
mode:
Diffstat (limited to 'tests/home/testuser')
-rw-r--r--tests/home/testuser/.ssh/config2
-rwxr-xr-xtests/home/testuser/.ssh/proxy-command8
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/home/testuser/.ssh/config b/tests/home/testuser/.ssh/config
index 8610bc9..113a511 100644
--- a/tests/home/testuser/.ssh/config
+++ b/tests/home/testuser/.ssh/config
@@ -6,4 +6,4 @@ RSAAuthentication no
GSSAPIAuthentication no
StrictHostKeyChecking yes
-# UserKnownHostsFile will be filled in dynamically.
+# UserKnownHostsFile and ProxyCommand will be filled in dynamically.
diff --git a/tests/home/testuser/.ssh/proxy-command b/tests/home/testuser/.ssh/proxy-command
new file mode 100755
index 0000000..630327d
--- /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" && \
+socat STDIO UNIX:"$3"