www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: [libssh2] Tunnelling using libssh2

Re: [libssh2] Tunnelling using libssh2

From: Peter Stuge <peter_at_stuge.se>
Date: Tue, 26 Jan 2010 17:36:35 +0100

Piotr Sipika wrote:
> I'm trying to execute a command on the remote host which uses
> stdin/stdout as its input/output sources.

Okey - but this doesn't really have anything to do with tunneling?

> Currently, after calling libssh2_channel_exec(), I am only able to
> read the output (stdout) of the command from the channel. Is there
> a way for me to also write to the channel (to the command's stdin),
> having issued the libssh2_channel_exec() call?

What happens when you call libssh2_channel_write() ?


libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

  • application/pgp-signature attachment: stored
Received on 2010-01-26

the libssh2 team