To enable user public-key authentication on the SSH Tectia Server on z/OS (it is allowed by default), make sure the AllowedAuthentications keyword in the /etc/ssh2/sshd2_config file contains the argument publickey:
Other authentication methods can be listed in the configuration file as well.
The following configuration steps are optional:
It is possible to use different settings depending on which key is used in public-key authentication. Your authorization file could, for example, contain the following:
When someone now logs in using the master key, the connection is not limited in any way by the authorization file. However, if the maid key is used, only connections from certain hosts will be allowed. And if the butler key is used, connections are denied from certain hosts, and additionally the allocation of tty is prevented. More information on the options (and command) keywords is available in the ssh2 man page (Appendix ssh2).
The per-user configuration directory can be changed by setting the UserConfigDirectory keyword in the sshd2_config file and on the client settings.
Per-user configuration information and encryption keys are by default stored in the .ssh2 subdirectory of each user's home directory.