php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71738 Undocumented Warning Thrown for SSH2 public key authentication
Submitted: 2016-03-08 10:07 UTC Modified: 2021-02-10 13:11 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: bowersbros at gmail dot com Assigned:
Status: Verified Package: ssh2 (PECL)
PHP Version: Irrelevant OS: Ubuntu 14.04
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-03-08 10:07 UTC] bowersbros at gmail dot com
Description:
------------
When trying to SSH into a server with incorrect details using a public key (E.g. as root, where root has been disabled), a warning is thrown. 

There is no documentation of this happening:

http://jp2.php.net/manual/en/function.ssh2-auth-pubkey-file.php

https://github.com/Herzult/php-ssh/issues/53#issuecomment-193698468

Expected result:
----------------
Either document the warning, or it shouldn't be thrown.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-03-08 10:10 UTC] bowersbros at gmail dot com
-Summary: Undocumented Warning Thrown +Summary: Undocumented Warning Thrown for SSH2 public key authentication
 [2016-03-08 10:10 UTC] bowersbros at gmail dot com
Improved the title.
 [2017-01-28 13:30 UTC] cmb@php.net
-Package: Documentation problem +Package: ssh2
 [2021-02-10 13:11 UTC] cmb@php.net
-Status: Open +Status: Verified
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC