public function authPubkey($session, $username, $pubkey, $privkey, $passphrase)
    {
        return ssh2_auth_pubkey_file($session, $username, $pubkey, $privkey, $passphrase);
    }
public function authPubkey($session, $username, $pubkey, $privkey, $passphrase)
    {
        return ssh2_auth_pubkey_file($session, $username, $pubkey, $privkey, $passphrase);
    }
public function authPubkey ( $ session , $ username , $ pubkey , $ privkey , $ passphrase ) { return ssh2_auth_pubkey_file ( $ session , $ username , $ pubkey , $ privkey , $ passphrase ) ; }
Facade for ssh2_auth_pubkey_file.

@param resource $session    The resource to login to.
@param string   $username   The username to login with.
@param string   $pubkey     The path to the public key to use.
@param string   $privkey    The path to the private key.
@param string   $passphrase The passphrase for the key.

@return boolean True if logged in.
Facade for ssh2_auth_pubkey_file .