[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help.


On Sunday 13 September 2009 10:56:04 Taras Halturin wrote:
> Hi all!

Hi,

> ch = channel_new (ssh);
> 
> if (channel_open_forward (ch, remote, remote_port, "127.0.0.1", local_port)
> != SSH_OK)

Reading the documentation, I'm understanding it this way:

ssh -L 22222:localhost:8222 fantom@xxxxxxxxxxxxx

translates to

channel_open_forward (ch, "localhost", 8222, "honkatonka", 22222)

Does this work for you?

Cheers,


	-- andreas

Attachment: signature.asc
Description: This is a digitally signed message part.


References:
Need help.Taras Halturin <halturin@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org