This topic gives instruction on how to enable or disable SSH public key authentication along with example.
Procedure
Enter show ssh-server-configuration to see current state of Public Key Authentication
Enter ssh-server-configuration to enter context menu for SSH server configuration.
Enter set pubkey-authentication on to enable Public Key Authentication (or off to disable).
Enter exit to leave sub-menu for SSH server configuration.
Enter copy running-config startup-config to save configuration changes.
Enter reset to load new configuration; or, if logged in from console, restart the SSH server with the no ip ssh command followed by the ip ssh command.