Re: [PEPr] Comment on Networking::Net_OpenSSH
| From: | Luca Corbo | Date: | Mon, 02 Feb 2009 14:39:23 +0000 |
| Subject: | Re: [PEPr] Comment on Networking::Net_OpenSSH | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51520@lists.php.net to get a copy of this message | ||
On Fri, Jan 30, 2009 at 8:57 PM, Michael Gauthier <mike@silverorange.com>wrote:
> On Fri, 2009-01-30 at 11:17 -0600, Queen Zeal wrote:
> > there is a pure-php implementation of ssh2 here:
> >
> >
> > http://phpseclib.sourceforge.net/documentation/net.html#net_ssh
> >
>
> http://phpseclib.cvs.sourceforge.net/viewvc/*checkout*/phpseclib/phpseclib/Net/SSH2.php?revision=1.8
> >
> > doesn't use public / private variables, among other things, though, so it
> > would need atleast some modification before being included in PEAR.
>
> I think this pure PHP library and the PHP ssh2 extension provide a
> better API that this proposal will not be able to replicate with
> wrapping the SSH command.
>
> For this proposal, it would be nice to see the pure-php version adapted
> and cleaned up. For starters, most of the encrypting stuff could be
> handled by relevant Crypt_* packages. Fortunately, the license of both
> this proposal and the pure-php implementation are the same.
>
> I realize this is a lot more work, but I think it would make a better
> package that is more useful for more people.
>
A pure PHP library sounds great, but as you said it requires a lot more
work.
Infact, apart the adapt and clean activities, it seems to implement at the
moment only ssh (exec and shell) functionality, so scp, sftp, key
authentication, ecc. features will be implemented too.
Ciao,
Luca
>
> Cheers,
>
> Mike
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>