Subject: SSH port forwarding with libssh2

SSH port forwarding with libssh2

From: <maxgeppi_at_tiscali.it>
Date: Thu, 19 Mar 2009 10:24:43 +0100 (CET)

Hello,

This is the first time that i'm write in libssh2 mailing
list.

I've just a first question.

May I use libssh2 to a port
forwarding connection, as well as i can make it with ssh?

For
instance, using parameter below.

"ssh -C -p 443 -R 13401:127.0.0.1:
1433 ................ -i id_rsa".

I seen same functions in the
library:

libssh2_channel_forward_accept
libssh2_channel_forward_cancel

libssh2_channel_forward_listen_ex

most likely, this are the right
functions to realize a port forward connection, but I've no idea, on
how to use it.

So, if it's possible, may i have an example of code to
test this functions?.

wait while a response, thank you in advance

Max.

Con Tutto Incluso chiami e navighi senza limiti e hai 4 mesi GRATIS.

L'attivazione del servizio è gratis e non paghi più Telecom!

L'offerta è valida solo se attivi entro il 19/03/09

http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso/

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2009-03-19