php SSH2 extension installation

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
cyball
Forum Newbie
Posts: 4
Joined: Sat Mar 12, 2005 7:58 am
Location: Germany
Contact:

php SSH2 extension installation

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

What are you having trouble with?
cyball
Forum Newbie
Posts: 4
Joined: Sat Mar 12, 2005 7:58 am
Location: Germany
Contact:

Post 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 .

:-)
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Moved to Linux.
cyball
Forum Newbie
Posts: 4
Joined: Sat Mar 12, 2005 7:58 am
Location: Germany
Contact:

Post 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
Post Reply