ssh2_auth_pubkey_file

Example

 bool ssh2_auth_pubkey_file ( resource $session , string $username , string $pubkeyfile , string $privkeyfile [, string $passphrase ] ) 

Description

Authenticate using a public key read from a file.

Return Values

Returns TRUE on success or FALSE on failure.