Page 1 of 1

php SSH2 extension installation

Posted: Sat Mar 12, 2005 8:06 am
by cyball
Hi, I want to use SSH2 to connect to an other Host. So i've installed the libssh2 from http://www.libssh2.org and i've downloaded the SSH2 from PECL but now i don't know how to proceed to end the installation. My OS is SUSE 9.2. witht APACHE 2.0.49 and PHP 4.3.8.

:D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

THX

Posted: Sat Mar 12, 2005 8:49 am
by feyd
What are you having trouble with?

Posted: Sat Mar 12, 2005 8:52 am
by cyball
after i ./configure the libssh2 and make install , i downloaded the SSH2 from PECL and there are no XXX.so files inside which i can copy in the extension folder in /usr/lib/php/ so i don't know how to make the extension work .

:-)

Posted: Sat Mar 12, 2005 8:57 am
by feyd
Moved to Linux.

Posted: Sat Mar 12, 2005 9:01 am
by cyball
on a windows PC it doesn'nt work too because i get there the error :


Warning: ssh2_connect() [function.ssh2-connect]: Error starting up SSH connection(-2): Timeout waiting for banner in c:\wamp\www\sshtest.php on line 5

Warning: ssh2_connect() [function.ssh2-connect]: Unable to connect to XX.XXX.XXX.XXX in c:\wamp\www\sshtest.php on line 5

Warning: ssh2_auth_password() expects parameter 1 to be resource, boolean given in c:\wamp\www\sshtest.php on line 7