13 Aug 2010

Running SSH Tunnels as Daemons

If you need an ssh tunnel, chances are good that you need it to hang about for a while, so you might as well stick it in the background somewhere. Start-stop-daemon is a good candidate tool for the job, but it’s pretty weird to use. Here’s what I figured out.