Peter Stuge wrote:
> > If you know about "plink" which is a commandline putty utility ,
> > It has one feature as below
> >
> > plink -2 root_at_calis1 -nc cali11:22
..
> > I am looking for similar stuff and analyzing its feasibility with
> > libssh2
>
> libssh2_channel_direct_tcpip_ex() is the function call you want.
Have a look at example/direct_tcpip.c in git to see how you can use
this function.
//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2009-12-24