4.7 User authentication methods
The user authentication protocol is implemented as separate client and server service modules. The following standard authentication methods are supported by the modules provided with libassh:
none : When allowed by the server application, this method always grants access without authentication of the user.
password : This is the password based user authentication method. The user password is transmitted to the server for checking, as specified in rfc4252.
hostbased : This is the host based user authentication method, specified in rfc4252.
publickey : This is the public key user authentication method, specified in rfc4252.
keyboard-interactive : This is the keyboard interactive user authentication method, specified in rfc4256.
The various methods can be disabled in build configuration and at run time.
Multi-factor authentication is supported on client and server sides. This means that the server application may require multiple methods to succeed in order to grant access. On the client side, multiple user authentication events are reported until the server reports a success.