The ssh server authentication-retries command sets the number of retry times to authenticate an SSH connection.
The undo ssh server authentication-retries command restores the default number of retry times.
By default, the default number of retry times is 3.