ssh2_auth_none

Example

 mixed ssh2_auth_none ( resource $session , string $username ) 

Description

Attempt "none" authentication which usually will (and should) fail. As part of the failure, this function will return an array of accepted authentication methods.

Return Values

Returns TRUE if the server does accept "none" as an authentication method, or an array of accepted authentication methods on failure.