User Authentication with Keyboard-Interactive
Keyboard-interactive is a generic authentication method that can be used to
implement different types of authentication mechanisms. Any currently
supported authentication method that requires only the user's input can be
performed with keyboard-interactive.
Currently on SSH Tectia Server for IBM z/OS, the supported submethods for keyboard-interactive are
Methods that require passing some binary information, such as public-key
authentication, cannot be used as submethods of keyboard-interactive.
But public-key authentication, for example, can be used as an additional method
alongside keyboard-interactive authentication.
Note: The client cannot request any specific keyboard-interactive
submethod if the server allows several optional submethods. The order in
which the submethods are offered depends on the server configuration.
However, if the server allows, for example, the two optional submethods SecurID
and password, the user can skip SecurID by pressing enter when SecurID is
offered by the server. The user will then be prompted for a password.
Keyboard-interactive is not enabled by default on the server.
To set up keyboard-interactive authentication, do the following steps:
- Include the following line in the
Also other authentication methods can be listed.
- The submethods and policy for keyboard-interactive are configured as
The default number of optional submethods that must be passed is 0,
although if no required submethods are specified, the client must always
pass at least one optional submethod.
sshd2_config man pages for more information on the
keywords (Appendix sshd2_config).
- (Optional) You can configure password change for the
password submethod with the two configuration variables described
in Section User Authentication with Passwords.
- Restart the server as instructed in Section