2: Too many authentication failures!!!!

The symptom:

Received disconnect from 2: Too many authentication failures

You’re trying to connect to your PI via ssh and you get this strange authentication error:

The issue appears to be related to ssh silently trying different keys and maxing out the allowed authentication attempts on the remote machine.

To get around this, you need to supply an extra command-line argument to ssh:

ssh -o PubkeyAuthentication=no root@