RE: FW: Problem with ssh2_connect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux