Tunnel a socket over a single datastream (stdin/stdout) https://github.com/singpolyma/sock2stream
|Latest on Hackage:||0.3|
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.
The primary envisioned use is to tunnel Unix domain sockets over SSH like so:
> mkfifo /tmp/sockin
> ssh user@host socket2stream -l /path/to/remotesocket < /tmp/sockin | socket2stream -r /path/to/localsocket > /tmp/sockin