show ssh authentication-method

Syntax

show ssh authentication-method

Description

显示方法和SSH公钥的状态the local password-based (through SSH client) authentication method.

Command context

Operator (>) or Manager (#)

Authority

Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.

Example

Showing the authentication methods.

switch#show ssh authentication-methodSSH publickey authentication : Enabled SSH password authentication : Enabled