Re: [PEPr] Comment on Networking::Net_OpenSSH
| From: | Luca Corbo | Date: | Fri, 30 Jan 2009 11:54:03 +0000 |
| Subject: | Re: [PEPr] Comment on Networking::Net_OpenSSH | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-51512@lists.php.net to get a copy of this message | ||
On Fri, Jan 30, 2009 at 12:39 PM, David Jean Louis <izimobil@gmail.com>wrote:
> Luca Corbo a écrit :
>
> You don't have to make system calls to execute remote commands with ssh.
>>> You can check-for & use libssh instead.
>>>
>>>
>>>
>>>
>>> http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/
>>>
>>> Works for scp as well.
>>>
>>
>>
>> Hi Kevin,
>> I know about the existence of the ssh2 pecl extension and this package
>> want
>> to be a simple and out of the box alternative to the libssh bind.
>> Some people infact could be not able to compile or install the libssh
>> library (i.e. shared host) or simply don't want to install it. On the
>> other
>> hand it is more simple to have an openssh client configured on your host..
>> By the way the installation on ubuntu env is quite simple but this could
>> not
>> be true on other *nix OS (like Solaris, HP-UX ecc.).
>>
>
> I Luca,
>
> I think kevin's remark is more like "you could check the existence of ssh2
> ext. and use it if it's available, and if not, default to the system calls",
> like a "drivers" implementation.
>
> Hi David,
ah ok, there was a misunderstanding, sorry for that :-(
I like this idea and I'll add this feature in the next version :-)
Ciao,
Luca