Manuál PHP | ||
---|---|---|
PÅ™edcházejÃcà | Dalšà |
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.
Poznámka: ssh2_auth_hostbased_file() requires libssh2 >= 0.7 and PHP/SSH2 >= 0.7
PÅ™edcházejÃcà | Domů | Dalšà |
Secure Shell2 Functions | Nahoru |