#38984 [Opn->Bgs]: ssh-rsa unusable with ssh2_connect
| From: | bjori@php.net | Date: | Thu, 28 Sep 2006 19:50:07 +0000 |
| Subject: | #38984 [Opn->Bgs]: ssh-rsa unusable with ssh2_connect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-102865@lists.php.net to get a copy of this message | ||
ID: 38984
Updated by: bjori@php.net
Reported By: dblais at interplex dot ca
-Status: Open
+Status: Bogus
Bug Type: OpenSSL related
Operating System: FreeBSD 6.1
PHP Version: 5.1.6
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Please report bugs in pecl extension in the pecl bug
tracker.
Previous Comments:
------------------------------------------------------------------------
[2006-09-28 19:33:03] dblais at interplex dot ca
Description:
------------
As soon as I'm using array('hostkey' => 'ssh-rsa') in the methods field
of the ssh2_connect function, I get the following error message:
Warning: ssh2_connect(): Error starting up SSH connection(-5): Unable
to exchange encryption keys in [...] on line x.
It is triggered by the ssh2_connect function so it doesn't even reach
the ssh2_auth_pubkey_file function...
I need it to connect with a rsa pair of key. Any idea?
I'm running FreeBSD 6.1 with libssh2-0.14 and pecl-ssh2-0.10.
Reproduce code:
---------------
$connection = ssh2_connect('ip_address', 22, array('hostkey' =>
'ssh-rsa'));
Expected result:
----------------
it shouldn't complain about its inability to exchange encryption keys,
we're not yet at this step.
Actual result:
--------------
Warning: ssh2_connect(): Error starting up SSH connection(-5): Unable
to exchange encryption keys in [...] on line x.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38984&edit=1