set pubkey-authentication

Last Updated : Nov 20, 2024 |
This command enables or disables SSH Public Key Authentication.
Prolog information

Syntax

set pubkey-authentication <state>

Parameter

Parameter
Description
Possible Values
Default Value
state
Flag to enable or disable Public Key Authentication.
  • on
  • off
  • off

Context

ssh-server-configuration

User level

admin

Example

# set pubkey-authentication on
PubkeyAuthentication: Enabled
Done!