|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58512 Error starting up SSH connection(-2)
Submitted: 2009-01-19 17:22 UTC Modified: 2012-10-06 09:16 UTC
Avg. Score:4.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: naim at greenmail dot ch Assigned:
Status: No Feedback Package: ssh2 (PECL)
PHP Version: 5.2.6 OS: Debian Etch 2.6.18-6-amd64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
41 - 35 = ?
Subscribe to this entry?

 [2009-01-19 17:22 UTC] naim at greenmail dot ch
This error happens randomly(?) on ssh2_connect().

Reproduce code:
Just a normal ssh2_connect().

Expected result:
A successful connection.

Actual result:
[19-Jan-2009 15:27:59] PHP Warning:  ssh2_connect() [<a href='function.ssh2-connect'>function.ssh2-connect</a>]: Error starting up SSH connection(-2): Timeout waiting for banner in /var/www/*****/base/classes/class.transfer.php on line 11
[19-Jan-2009 15:27:59] PHP Warning:  ssh2_connect() [<a href='function.ssh2-connect'>function.ssh2-connect</a>]: Unable to connect to **.**.**.** in /var/www/*****/base/classes/class.transfer.php on line 11


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-19 17:25 UTC] naim at greenmail dot ch
This error isn't already fixed.
 [2012-06-22 15:24 UTC]
-Status: Open +Status: Feedback
 [2012-06-22 15:24 UTC]
naim, please try newer versions of the ssh2 extension and libssh2 an see if the 
problem still exists.
 [2012-10-06 09:16 UTC]
-Status: Feedback +Status: No Feedback
 [2012-10-06 09:16 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Aug 02 06:01:23 2021 UTC