24.03.2012, 20:05
Hello,
I'm having apache2, PHP5 and ssh2 module installed on my VPS, and I'm trying to run a following command to connect to a OVH dedicated server.
I'm sure login info is alright, because I'm using it with putty and it works fine. Here's the error I'm getting:
Any ideas how to sort it out and succesfully connect?
Thank you!
I'm having apache2, PHP5 and ssh2 module installed on my VPS, and I'm trying to run a following command to connect to a OVH dedicated server.
Код:
$Connection = ssh2_connect("***.***.***.***", 22); ssh2_auth_password($Connection, "root", "********");
Код:
Warning: ssh2_connect() [function.ssh2-connect]: Error starting up SSH connection(-3): Error sending banner to remote host in /var/www/test.php on line 2 Warning: ssh2_connect() [function.ssh2-connect]: Unable to connect ***.***.***.*** in /var/www/test.php on line 2
Thank you!