ssh public-key-authentication

Syntax

ssh public-key-authentication

no ssh public-key-authentication

Description

Enables the SSH public key authentication method. The switch ships with SSH public key authentication enabled.

The no form of this command disables the SSH public key authentication method.

NOTE:

Although SSH public key authentication is enabled by default, it cannot be used until SSH public keys are added with the user authorized-key command.

Command context

config

Authority

Administrators

Examples

Enabling SSH public key authentication:

switch(config)# ssh public-key-authentication

Disabling SSH public key authentication:

switch(config)# no ssh public-key-authentication