PHP SSH2 lib Wiki
Fork of PECL SSH2 0.11.3 includes keyboard_interactive login
Brought to you by:
aguptagoa
How to install?
For UNIX based systems:-
1. sudo apt-get install -f libssh2-1-dev libssh2-php
php -m |grep ssh2
It should return: 'ssh2'
sudo apt-get install -f php5-dev php5-cli php-pear build-essential openssl-dev zlib1g-dev
unzip the contents of the file downloaded from here
phpize
./configure --with-ssh2
make
make install
Finally you may want to copy the ssh2.so to your lampp directory
In your php.ini add
extension=ssh2.so
Restart lampp and enjoy the library.
For usage of this library
http://php.net/manual/en/book.ssh2.php