Skip to content

crackleware/on-demand-ssh-tunnel

Repository files navigation

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).

About

Haskell program that sends traffic through SSH tunnels on-demand

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published