MaxAuthTries
MaxAuthTries is an SSH daemon configuration option that restricts the number of authentication attempts a single connection may perform before the connection is terminated. It is part of the OpenSSH server configuration and is set in the sshd_config file.
The setting works by counting each failed authentication attempt for a given connection. When the counter reaches
MaxAuthTries applies to all authentication methods offered by SSH during that connection, including password, public key,
Configuration and related considerations: MaxAuthTries is configured in sshd_config and accepts integer values. Choosing a value