Blob


1 # lstun -- lazy ssh tunnel
3 lstun is a simple utility to lazily (on demand) spawn a ssh tunnel to
4 a remote machine and kill it after some time of inactivity.
6 Given its narrow scope, it's probably not useful to anybody but me, so
7 I haven't invested much time in making it easily portable. Said that,
8 it shouldn't be hard to compile it in non-OpenBSD systems: you have
9 just to compile it by hand and (probably) provide an implementation
10 for strtonum(3) and getprogname(3).
12 To compile it just run
14 make
16 The only dependency is libevent.
18 By default it uses `/usr/bin/ssh`, you can change it at compile time
19 with `-D SSH_PATH=<whatever>`.
21 Check out the manpage for the usage.