|
PHP5中文手册
ssh2_auth_hostbased_file(PECL ssh2:0.10-0.9) ssh2_auth_hostbased_file — Authenticate using a public hostkey 说明
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. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 Authentication using a public hostkey
<?php 注释
|