svn: /phpdoc/en/trunk/reference/ssh2/functions/ ssh2-auth-pubkey-file.xml

From: Date: Thu, 11 Jun 2015 06:14:22 +0000
Subject: svn: /phpdoc/en/trunk/reference/ssh2/functions/ ssh2-auth-pubkey-file.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-13377@lists.php.net to get a copy of this message
rasmus Thu, 11 Jun 2015 06:14:22 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=336921 Log: Add note on partial auth here Changed paths: U phpdoc/en/trunk/reference/ssh2/functions/ssh2-auth-pubkey-file.xml Modified: phpdoc/en/trunk/reference/ssh2/functions/ssh2-auth-pubkey-file.xml =================================================================== --- phpdoc/en/trunk/reference/ssh2/functions/ssh2-auth-pubkey-file.xml 2015-06-11 05:18:53 UTC (rev 336920) +++ phpdoc/en/trunk/reference/ssh2/functions/ssh2-auth-pubkey-file.xml 2015-06-11 06:14:22 UTC (rev 336921) @@ -79,6 +79,18 @@ </para> </refsect1> + <note> + <simpara> + The underlying libssh library doesn't support partial auths very cleanly. + That is, if you need to supply both a public key and a password it will + appear as if this function has failed. In this particular case a failure + from this call may just mean that auth hasn't been completed yet. You + would need to ignore this failure and continue on and call + <function>ssh2_auth_password</function> in order to complete + authentication. + </simpara> + </note> + <refsect1 role="examples"> &reftitle.examples; <para>

« previous php.doc.cvs (#13377) next »