Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46263 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46128 invoked from network); 2 Dec 2009 12:28:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2009 12:28:54 -0000 Authentication-Results: pb1.pair.com header.from=samuel.roze@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=samuel.roze@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.78.25 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: samuel.roze@gmail.com X-Host-Fingerprint: 74.125.78.25 ey-out-2122.google.com Received: from [74.125.78.25] ([74.125.78.25:61416] helo=ey-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/BC-65100-68D561B4 for ; Wed, 02 Dec 2009 07:28:54 -0500 Received: by ey-out-2122.google.com with SMTP id 9so42027eyd.39 for ; Wed, 02 Dec 2009 04:28:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=mDt2gBJqV40zv0dcE6xnpaJqj4jBs8PfTv6uc5Rs9dQ=; b=llYxAkEiRTIFDD6i37/2XxWtddpDsCccF3kt+KA75obGjZOtE9e1OkJuLrtWFVg0zG J2HwbVNoa/R5rOHdIoU6zQUPBGKfULx39qGKWDYFFiKolFr7BIpFZ6W8be7tNuUr3dIi 204MC0JT2smEt+g4tCmORZzPMySpZuB5pQuTg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=eI3O9bpvX9o1q7LyiP3eOL0xcFuHQOaTmYwNB9tD2zDDys9PqFKUJO9FYDMEByKLey rlDA9GJU4mBRFoOMVu5PQGC6s6mB5EC3aHE7kY/iX7mxIbcsSovGNAgZ2hrE4sHyXAF6 DHKNOdBhyiZy+sj/VJaApy7ybQO/jJBuigSJM= Received: by 10.213.2.73 with SMTP id 9mr73453ebi.21.1259756931384; Wed, 02 Dec 2009 04:28:51 -0800 (PST) Received: from ?192.168.1.4? (91-171-145-201.rev.libertysurf.net [91.171.145.201]) by mx.google.com with ESMTPS id 13sm702123ewy.13.2009.12.02.04.28.49 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Dec 2009 04:28:50 -0800 (PST) To: Pierre Joye Cc: PHP Developers Mailing List In-Reply-To: References: <1259702379.25156.8.camel@samuel-laptop> Content-Type: text/plain; charset="UTF-8" Date: Wed, 02 Dec 2009 13:28:48 +0100 Message-ID: <1259756928.2904.1.camel@samuel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] An SSH shell like a stream From: samuel.roze@gmail.com (Samuel ROZE) The pecl-dev@lists.php.net list appears to be broken because I doesn't received my message which I sent yesterday... Is there any who can tell me if I received it ? (title is "SSH2: An SSH shell like a stream") Regards, Samuel. 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 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 > > > > > > >