on-demand-ssh-tunnel

Program that sends traffic through SSH tunnels on-demand https://github.com/crackleware/on-demand-ssh-tunnel

Latest on Hackage:0.1.0.6

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

MIT licensed by Predrag Radovic
Maintained by predrg@gmail.com
Example usage:

$ on-demand-ssh-tunnel '[ SSHTunnel 59000 "127.0.0.1:5900" ["user@host1", "while true; do date; sleep 60; done"] ]'

When something connects to 127.0.0.1:59000 on-demand-ssh-tunnel will
start ssh subprocess

ssh -v -Lrandom-tunnel-port:127.0.0.1:5900 -n user@host1

to tunnel communication to VNC server accessible on port 5900 (on host1).
comments powered byDisqus