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