Re: [Fwd: Re: Local tunneling question]
Sascha Hunold <[email protected]>
| Newsgroups | gmane.comp.java.sshtools.user |
|---|---|
| Message-ID | <[email protected]> |
>> Andre Charbonneau wrote:
>>
>>
>>> // Create a tunnel for the VNC traffic.
>>> ForwardingClient forwarding = ssh.getForwardingClient();
>>> forwarding.addLocalForwarding("VNC", "0.0.0.0", 5920,
>>> "localhost", 5920);
>>>
The 4th parameter is the host to connect to. Should be a.b.c then, right?
forwarding.addLocalForwarding("VNC", "0.0.0.0", 5920, "a.b.c", 5920);
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/