Configures the maximum number of times a user is allowed to try to authenticate to the SSH server.
The default is 6 tries.
Global configuration mode
Use the no form of the command to reset the default.
This command configures the maximum number of times a user is allowed to try authenticate to the SSH server. When the number of attempts to log in to an SSH session is more than the defined value, the session is terminated.
This example changes the maximum number of tries to 2.
device# configure terminal device(config)# ssh server max-auth-tries 2