|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2021 The PHP Group
All rights reserved.
Last updated: Sat Jul 24 06:01:24 2021 UTC