ip ssh authentication-retries
By default, the device attempts to negotiate a connection with the connecting host three times.
Global configuration mode
The ip ssh authentication-retries command is not applicable on devices that act as an SSH client. On such devices,
when you try to establish an SSH connection with the wrong credentials, the session
is not established and the connection is terminated. The device does not check the
SSH authentication retry configuration set using the
ip ssh authentication-retries command. The command is applicable only to SSH clients such as PuTTY, SecureCRT,
and so on.
The
no form of the command sets the number of retries to the default value of three.