ssh maximum-auth-attempts
Syntax
ssh maximum-auth-attempts
没有maximum-auth-attempts
Description
Sets the SSH maximum number of authentication attempts.
Theno
form of the command resets the maximum to its default of 6.
Command context
config
Parameters
-
-
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
设置最大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)#没有maximum-auth-attempts