Category: Linux

How to install SSH_connect on Centos 5.5

yum install libssh libssh-devel php-pear php-devel gcc

cd /usr/src
tar -zxvf libssh2-1.3.0.tar.gz
cd libssh2-1.3.0
make all install
pecl install ssh2 channel://

#Add to php.ini
vi /etc/php.ini
service httpd restart

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.