|
PHP5中文手册
ssh2_auth_none(PECL ssh2:0.10-0.9) ssh2_auth_none — Authenticate as "none" 说明
mixed ssh2_auth_none
( resource $session
, string $username
)
Attempt "none" authentication which usually will (and should) fail. As part of the failure, this function will return an array of accepted authentication methods. 参数
返回值Returns TRUE if the server doesc accept "none" as an authentication method, or an array of accepted authentication methods on failure. 范例
Example#1 Retreiving a list of authentication methods
<?php |