SSH returns “too many authentication failures” error when you try to login remote linux host. This is a very common problem when you have many linux hosts and clients.
I attempted to connect, e.g.:
ssh -p 10000 firstname.lastname@example.org
I was receiving the following error:
Received disconnect from 10.0.0.1: 2: Too many authentication failures for username
Specifies that ssh(1) should only use the authentication identity files configured in the ssh_config files, even if ssh-agent(1) offers more identities. The argument to this keyword must be “yes” or “no”. This option is intended for situations where ssh-agent offers many different identities. The default is “no”.
Running the same ssh command and, in addition, specifying IdentitiesOnly=yes:
ssh -p 10000 -o IdentitiesOnly=yes email@example.com