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