ssh maximum-auth-attempts

Syntax

ssh maximum-auth-attempts <ATTEMPTS>
no maximum-auth-attempts

Description

Sets the SSH maximum number of authentication attempts.

The no form of the command resets the maximum to its default of 6.

Command context

config

Parameters

<ATTEMPTS>

Specifies the maximum number of SSH authentication attempts. Range: 1 to 10. Default: 6.

Authority

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

Examples

Setting the maximum number of authentication attempts:

switch(config)# ssh maximum-auth-attempts 3

Resetting the maximum number of authentication attempts to its default of 6:

switch(config)# no maximum-auth-attempts