en-us Changes to branch au.asn.ucc.matt.dropbear.dbclient-netcat-alike http://viewmtn.angrygoats.net/all/branch/changes/au.asn.ucc.matt.dropbear.dbclient-netcat-alike Changes to branch au.asn.ucc.matt.dropbear.dbclient-netcat-alike http://viewmtn.angrygoats.net/all/revision/info/d1f69334581dc4c35f9ca16aa5355074c9dd315d A hack to make dbclient to tcp forwarding netcat style. 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.
Matt Johnston <matt@ucc.asn.au> Tue, 21 Mar 2006 16:16:41 GMT