CentOS - SSH2 PHP extensie installeren
Install the necessary packages before you can build/install ssh2 extension
yum install gcc php-devel php-pear libssh2 libssh2-devel make php-mysql
Install the extension, (hit enter for autodetect when it prompts you)
Once the install is completed, you just have to tell PHP to load the extension when it boots.
echo extension=ssh2.so > /etc/php.d/ssh2.ini
Restart your webserver and test to see if the changes took effect.
You can check it installed with the following command
Op de Mysql Server
vi /etc/ssh/sshd_config