Hi Mehdi,

On Tue, 2 Apr 2019 02:24:24 +0200 mehdi <dormir.man...@gmail.com> wrote:
> hi,
> on jessie, after upgrade to libssh2-1_1.4.3-4.1+deb8u2, the following PHP
> code doesn't work anymore.
>
> could it be related to this fix?
> https://github.com/libssh2/libssh2/commit/ca2744483eac4e707084df5fc55cc69d57571dde
>
>
> <?php
> $connection = ssh2_connect('localhost', 22);
> if(ssh2_auth_pubkey_file($connection, 'test', '/tmp/testkey.pub',
> '/tmp/testkey')) {
> echo "ok\n";
> }
> else {
> echo "nok\n";
> }
>
> => PHP Warning: ssh2_auth_pubkey_file(): Authentication failed for test
> using public key: Unable to send userauth-publickey request in - on line 3

Thanks for reporting this. I have just uploaded a regression fix to jessie lTS ( +deb8u3 ).

Mike

Reply via email to