Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46264 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47588 invoked from network); 2 Dec 2009 12:33:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Dec 2009 12:33:07 -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.218.213 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.218.213 mail-bw0-f213.google.com Received: from [209.85.218.213] ([209.85.218.213:39393] helo=mail-bw0-f213.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E8/0D-65100-38E561B4 for ; Wed, 02 Dec 2009 07:33:07 -0500 Received: by bwz5 with SMTP id 5so123540bwz.23 for ; Wed, 02 Dec 2009 04:33:04 -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=i/KejUWLKHKU0CD9IW3NDjmCA5x+3f9sdNtJb4fUZzE=; b=GBvwnh0u2a6gaLh7cmNsvk/IP0qbZtk1QpQbI36evSFCofQZqD9oc/lgRkZB+khd2F HKgosmHd2PiHPYPm2ccUMbpSK5XOnb3v3ylqjSzWmSN7O0Q7UoTdDZBF+GbS/39UwbWN +sDTuqfuAbuPDevoW7lCmSwL/l87VztGsxrSw= 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=PC16NAQNUrjKJy1oiBv5LIdI1yOI13fMGyIxn16nTBufG2Q36cnH6cJrnN7YpDRM0M 7JZOw1CjtTeTDDRuoHCgfGU8alY3QGMRICtfNJxhROq8VtXdAFRpFNCP4pdocsbmvXLr ZmbUrZ3JwFdnPAD9l7MuCj2D7IqovNY3+NP40= Received: by 10.204.29.18 with SMTP id o18mr73730bkc.39.1259757184238; Wed, 02 Dec 2009 04:33:04 -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 21sm1378276fks.37.2009.12.02.04.33.02 (version=SSLv3 cipher=RC4-MD5); Wed, 02 Dec 2009 04:33:03 -0800 (PST) To: Pierre Joye Cc: PHP Developers Mailing List In-Reply-To: <1259756928.2904.1.camel@samuel-laptop> References: <1259702379.25156.8.camel@samuel-laptop> <1259756928.2904.1.camel@samuel-laptop> Content-Type: text/plain; charset="UTF-8" Date: Wed, 02 Dec 2009 13:33:00 +0100 Message-ID: <1259757180.2904.2.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) Sorry, I had a problem with my GMail filters... Regards, Le mercredi 02 décembre 2009 à 13:28 +0100, Samuel ROZE a écrit : > 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 > > > > > > > > > > > > > >