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

Reply via email to