RE: [PHP] FW: Problem with ssh2_connect

From: Date: Wed, 23 Jun 2010 13:39:13 +0000
Subject: RE: [PHP] FW: Problem with ssh2_connect
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-306359@lists.php.net to get a copy of this message
From: Radek Krejca > I am trying connect to freebsd. I have php 5.3.2 installed. I have to connect > using public keys, but without succes. Function ssh2_connect throws me > following error (then I have invalid resource for function ssh2_auth_pubkey_file)... > > PHP Warning: ssh2_connect(): Error starting up SSH connection(-5): Unable > to exchange encryption keys in /usr/home/radek/pokus.php on line 14 ... > I got the same error without using methods variable. Have you tried opening the connection from the command line with OpenSSL or similar tools? Do you know those credentials will actually work? Bob McConnell

« previous php.general (#306359) next »