ID:               41652
 Updated by:       [EMAIL PROTECTED]
 Reported By:      cshaulis at bear dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Sockets related
 Operating System: Windows XP
 PHP Version:      5.2.3
 New Comment:

As we don't yet have means to move bug reports around, please re-report
this using the PECL bug tracker at:
http://pecl.php.net/bugs/report.php?package=ssh2

This will bring this issue to the attention of this package's authors.
Thank you.


Previous Comments:
------------------------------------------------------------------------

[2007-06-11 14:46:14] cshaulis at bear dot com

Description:
------------
Calling ssh2_connect returns with an error in a situation where it
should not.

Reproduce code:
---------------
$con = ssh2_connect('pbptgemapp1', 22);
if (!$con) {
  print "Connection failed !";
}

Expected result:
----------------
I expect to see no output and to have a valid handle in $con


Actual result:
--------------
Warning: ssh2_connect() [function.ssh2-connect]: Error starting up SSH
connection(-5): Unable to exchange encryption keys in C:\Program
Files\Apache Software Foundation\Apache2.2\htdocs\ssh2.php on line 5

Warning: ssh2_connect() [function.ssh2-connect]: Unable to connect to
pbptgemapp1 in C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\ssh2.php on line 5
Connection failed !

It may be necessary to use Windows to reproduce the problem. (I am
using Apache/2.2.4 (Win32) PHP/5.2.3)



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41652&edit=1

Reply via email to