Re: An SSH shell like a stream
| From: | Samuel ROZE | Date: | Tue, 01 Dec 2009 21:29:42 +0000 |
| Subject: | Re: An SSH shell like a stream | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46262@lists.php.net to get a copy of this message | ||
Done.
Sorry!
Le mardi 01 décembre 2009 à 22:23 +0100, Pierre Joye a écrit :
> hi,
>
> Please discuss PECL extension in the PECL mailing list or report a bug
> via pecl.php.net/ssh2.
>
> Cheers,
>
> On Tue, Dec 1, 2009 at 10:19 PM, Samuel ROZE <samuel.roze@gmail.com> wrote:
> > Hi,
> >
> > In the description of ssh2_shell, there's:
> > "Open a shell at the remote end and allocate a stream for it."
> >
> > So the result of this command must be a stream. Well, it's good, I'll
> > use fgets, fwrite and stream_* functions ! BUT, the problem is that I
> > can't use a SSH2 Stream with the stream_select function...
> >
> > Warning: stream_select() [function.stream-select]: cannot represent a
> > stream of type SSH2 Channel as a select()able descriptor in XX on line
> > XX
> >
> > Why I cannot ? Is there a workaround ?
> >
> > Regards,
> > Samuel ROZE.
> >
> >
> > --
> > PHP Internals - PHP Runtime Development Mailing List
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>