To enable user public-key authentication on the server (it is allowed by
default), make sure the AllowedAuthentications keyword
in the /etc/ssh2/sshd2_config file contains the
argument publickey:
AllowedAuthentications publickey
Other authentication methods can be listed in the configuration file as
well.