SshSession.discoverAuthenticationMethods
SshAuthOperation discoverAuthenticationMethods()Discovers the authentication methods currently accepted by the server.
The operation sends the RFC 4252 none request and completes when the server returns its method list. It never submits a credential.
Returns
A stable authentication operation whose SshAuthOperation.availableMethods contains the discovered methods.