Subject: Re: [libssh2] Tunnelling using libssh2

Re: [libssh2] Tunnelling using libssh2

From: A. Mark <gougolith_at_gmail.com>
Date: Tue, 26 Jan 2010 20:28:07 -0800

> Just launch "/bin/sh" as command and issue the commands as if they were
> written in a shell script. That works also with perl, python, ... most
> script machines that are installed into the remote host.
>
>
I've tried this approach and it does not seem to work for me. I issue a
channel exec"/bin/sh" from a thread, but then the next channel exec on same
channel result in error? I don't understand how you do it with "/bin/sh"
could you explain ?

Alian

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-27