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 does accept "none" as an authentication method, or an array of accepted authentication methods on failure.