PHP. Руководство по PHP. 2005
ssh2_auth_hostbased_file

ssh2_auth_hostbased_file
Description
bool ssh2_auth_hostbased_file (resource session, string username, string hostname, string pubkeyfile, string privkeyfile [, string passphrase [, string local_username]])
Authenticate using a public hostkey read from a file. If privkeyfile is encrypted (which it should be), the passphrase must be provided. If local_username is omitted, then the value for username will be used for it.
Замечание: ssh2_auth_hostbased_file() requires libssh2 >= 0.7 and PHP/SSH2 >= 0.7

![]() | ||
|
Отвечу на любые вопросы. С уважением, Дмитрий Владимирович.
⇪