|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63192 Check authentication status
Submitted: 2012-10-01 08:08 UTC Modified: 2012-10-01 19:12 UTC
From: Assigned: langemeijer (profile)
Status: Closed Package: ssh2 (PECL)
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2012-10-01 08:08 UTC]
It seems that many functions don't know or check the authentication status for a 
session. This leads to 100% cpu usage sometimes.

- A double ssh2_auth_*() hangs.
- An ssh2_exec() on an unauthenticated session hangs.

An expected results would be: failing with a warning.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-10-01 19:11 UTC]
Automatic comment from SVN on behalf of langemeijer
Log: Check if connection is authenticated. closes bug #63192
 [2012-10-01 19:12 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2012-10-01 19:12 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: langemeijer
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Sep 29 00:01:24 2023 UTC