note 125562 added to function.ssh2-auth-pubkey-file
| From: | Christophe@php.net | Date: | Wed, 02 Dec 2020 12:31:03 +0000 |
| Subject: | note 125562 added to function.ssh2-auth-pubkey-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215926@lists.php.net to get a copy of this message | ||
Users should be aware of bug 78661 https://bugs.php.net/bug.php?id=78661
As of december 2020, on some Linux distro, (debian 10 and ubuntu 20.04 at least), although the ssh
daemon will accept the connection, the function ssh2_auth_pubkey_file stubbornly reports an error.
It took me hours to realise that my code was correct, but the function buggy. If you are hit by this
bug, you may try https://www.php.net/ssh2_auth_password instead...
If applicable.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.156.130 (proxied: 86.253.181.107)
----
Manual Page -- http://php.net/manual/en/function.ssh2-auth-pubkey-file.php
Edit -- https://master.php.net/note/edit/125562
Del: integrated -- https://master.php.net/note/delete/125562/integrated
Del: useless -- https://master.php.net/note/delete/125562/useless
Del: bad code -- https://master.php.net/note/delete/125562/bad+code
Del: spam -- https://master.php.net/note/delete/125562/spam
Del: non-english -- https://master.php.net/note/delete/125562/non-english
Del: in docs -- https://master.php.net/note/delete/125562/in+docs
Del: other reasons-- https://master.php.net/note/delete/125562
Reject -- https://master.php.net/note/reject/125562
Search -- https://master.php.net/manage/user-notes.php