Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46262 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22604 invoked from network); 1 Dec 2009 21:29:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2009 21:29:45 -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 209.85.219.226 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: 209.85.219.226 mail-ew0-f226.google.com Received: from [209.85.219.226] ([209.85.219.226:43567] helo=mail-ew0-f226.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/E5-65100-9CA851B4 for ; Tue, 01 Dec 2009 16:29:45 -0500 Received: by mail-ew0-f226.google.com with SMTP id 26so5886872ewy.23 for ; Tue, 01 Dec 2009 13:29:45 -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=scVoo1mmZGgxd9LD9DOHNvWIqEgMXNxE0GNq52dFu8g=; b=AmDJSqbMEeumwNKyIL3F/PsFZcgr1BTnq0C6WWrQlccD0km8LV4FxczML5GOCGRFFU g9IN3fUS8wvtybcU5XXW2xGbtXp/1BiPKjGFF4gY/7aATtYviLgJvigqi9m5BMkP+SW9 wF5+Jnel1q9diD6CAFz7y5lr2UYGXXZJJn6R4= 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=eVxWkv/99NANv5gVi4DWJjgmrS57K7G4RePSqFauNKdi4+tGSzULQvRN2jBgbI+Egc +D9Gi9mWITTogFKxDfVK6b9uUJllTlEpZ8lRJv2qEoH4ZkVaDapTBRHBS94zdMoA5hxz GnJwAtAD2TyZsqzMTgz24EY0ne/1zJ376240s= Received: by 10.213.96.221 with SMTP id i29mr6383007ebn.96.1259702985257; Tue, 01 Dec 2009 13:29:45 -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 7sm1250845eyb.26.2009.12.01.13.29.44 (version=SSLv3 cipher=RC4-MD5); Tue, 01 Dec 2009 13:29:44 -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: Tue, 01 Dec 2009 22:29:42 +0100 Message-ID: <1259702982.25156.11.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) 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 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 > > > > > > >