[SSH] Received disconnect from xxx : 2: Too many authentication failures for username

Tadashi Shigeoka ·  Fri, August 29, 2014

The following error occurred with ssh:

ssh [email protected] -i ~/.ssh/id_rsa_t_shigeoka
Received disconnect from 184.169.144.233: 2: Too many authentication failures for t_shigeoka

This seems to have happened because I created too many users for logging into servers and was doing connection tests, resulting in too many registered keys.

ssh-add -D

I resolved it by removing all key information from the agent.


Reference Information

sshで「Too many authentication failures for …」が出た場合の対処法 - tkuchikiの日記

That’s all from the Gemba.