LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   help to install ssh2 (https://www.linuxquestions.org/questions/linux-software-2/help-to-install-ssh2-4175536795/)

Dodylode 03-15-2015 08:52 AM

help to install ssh2
 
Hello guys ,,

i am try to install ssh2 in my dedicated server i am use it

pecl install -f ssh2

and i got this


Code:

[root@root ~]# pecl install -f ssh2
WARNING: failed to download pecl.php.net/ssh2 within preferred state "stable", will instead download version 0.12, stability "beta"
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading ssh2-0.12.tgz ...
Starting to download ssh2-0.12.tgz (26,223 bytes)
.........done: 26,223 bytes
6 source files, building
running: phpize
Configuring for:
PHP Api Version:        20090626
Zend Module Api No:      20090626
Zend Extension Api No:  220090626
libssh2 prefix? [autodetect] :
building in /var/tmp/pear-build-rootCAVxf5/ssh2-0.12
running: /var/tmp/ssh2/configure --with-ssh2
configure: error: working directory cannot be determined
ERROR: `/var/tmp/ssh2/configure --with-ssh2' failed
[root@root~]#


i am try to install this

1- yum install php
2- yum install gcc php-devel php-pear libssh2 libssh2-devel

but can't to install ssh2

my system [ Centos 6 64bit ]

can some one help me

and thanks.

John VV 03-16-2015 05:55 PM

for gcc you will need to install a LOT!!! more than just
Code:

yum install gcc
you will be missing ALL the need tools that that program needs

for gcc
Code:

su -
yum groupinstall "Development Tools"

as for ssh
cent uses openssh
Code:

su -
yum search ssh
--- then from the list ----
you install libssh2


Dodylode 03-17-2015 02:58 AM

i am try to do this before

and nothing to do

what should i do can some one help me : (

---------- Post added 03-17-15 at 02:59 AM ----------

if you have skype add me

skype name : g-27001


All times are GMT -5. The time now is 11:50 PM.