Mercurial > dropbear
comparison options.h @ 296:6b41e2cbf071 dbclient-netcat-alike
A hack to make dbclient to tcp forwarding netcat style.
eg
./dbclient -i testkey -L 1234:remotehost:remoteport tunnelhost
will ssh to tunnelhost (using testkey, there's no way to ask for a password)
and then tcpfwd to remotehost:remoteport on stdin/stdout.
There's no way to give a cmdline password, so -i for a keyfile will have to do.
Yet another reason for agent forwarding.
The 1234 is a dummy var, I think it has to be a valid portnumber though.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 21 Mar 2006 16:16:41 +0000 |
parents | 55a99934db87 |
children | 64abb124763d 9d110777f345 79bf1023cf11 973fccb59ea4 168272e481a8 dba106bf6b34 0aaaf68e97dc |
comparison
equal
deleted
inserted
replaced
295:03f65e461915 | 296:6b41e2cbf071 |
---|