ssh2_auth_hostbased_file

Example

 bool ssh2_auth_hostbased_file ( resource $session , string $username , string $hostname , string $pubkeyfile , string $privkeyfile [, string $passphrase [, string $local_username ]] ) 

Description

Authenticate using a public hostkey read from a file.

Return Values

Returns TRUE on success or FALSE on failure.