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

Archive Index This month's Index

Subject: Re: How to get about command execution finished on remote side

Re: How to get about command execution finished on remote side

From: Ivan Tretyakov <ivan.v.tretyakov_at_gmail.com>
Date: Mon, 16 Jan 2012 01:40:25 +0400

2012/1/16 Peter Stuge <peter_at_stuge.se>

> Ivan Tretyakov wrote:
> > I'll think about it, but at the moment it's not clear to me how do I
> > implement a simple ssh client.
>
> Maybe doing that is not so simple.
>
>
> > how to interact with a remote shell when I use libssh2_channel_shell
> > and want to execute commands remotely.
>
> So you need to study how to do full duplex communication in C.
>
>
> > In my mind it's a good to have such example at web-site example section.
>
> Feel free to send a perfect patch with such an example. I don't think
> anyone would be against adding it to the repo!
>
> There is already at least one example demonstrating the same concept
> however; look at examples/direct-tcpip.c
>
>
> //Peter
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>

Thank you again! If I'll get success with that I'll send you my example.

//Ivan

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

the libssh2 team