Subject: Re: ssh_tunnel

Re: ssh_tunnel

From: Peter Stuge <peter_at_stuge.se>
Date: Fri, 12 Nov 2010 23:16:14 +0100

junk_at_igrspace.com wrote:
> I am actually here with a usage question for the libssh2 PHP
> binding rather than a devel question, feel free to redirect me.

Sorry, we're not really able to help. We only do the C library.

> the PHP binding does provide ssh2_tunnel() which takes remote host
> and port, but it returns a PHP resource accepting fwrite(), fgets(),
> etc. Unless there is something major I am missing, I believe this is
> of any use for another ssh connection through it.

I don't really know. It depends on what the binding does as far as
connection setup goes.

> Or is there a way to start a libssh2 session on an existing tcp
> connection using the PHP binding ?

No idea. Try to find someone who knows what the binding is doing?

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-11-12