ssh password-authentication

Syntax

ssh password-authentication no ssh password-authentication

Description

Enables the password-based authentication method for use with SSH clients.

Theno这个命令禁用密码的一个形式uthentication method for use with SSH clients.

Command context

config

Authority

Administrators or local user group members with execution rights for this command.

Usage

The switch ships with password-based authentication (for SSH clients) enabled. The maximum number of password retries is three.

Examples

Enabling password authentication for use with SSH clients:

switch(config)#ssh password-authentication

Disabling password authentication for use with SSH clients:

switch(config)#no ssh password-authentication