214cc23b7a29c5ef4fe2753cf157ab22f9d5f26c
[monkeysphere.git] / tests / home / testuser / .ssh / proxy-command
1 #!/usr/bin/env bash
2
3 # simple socket-based proxy-command wrapper for testing monkeysphere.
4
5 # pass this thing the host, the port, and the socket.
6 which monkeysphere >&2
7
8 monkeysphere ssh-proxycommand --no-connect "$1" "$2" && \
9 exec socat STDIO UNIX:"$3"