Too many authentication failures List added identities by ssh-add -l. Remove failing identity from the agent by: ssh-add -d. OR You may also deletes all identities by ssh-add -D and re-add only relevant one. I usually do the last one!