summaryrefslogtreecommitdiff
path: root/tests/home/testuser/.ssh/proxy-command
blob: 21c66faaf7dc2e046c3198844a338cdbad1ea38f (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. monkeysphere-ssh-proxycommand --no-connect "$1" "$2" && \
  5. exec socat STDIO UNIX:"$3"