No matter on which server I try to connect via password login, I always get the error message
Too many authentication failures for
If I have exchanged the ssh-keys, I can login without password as before, also if I rename my user
~/.ssh folder, I get to the password prompt as suspected.
What can I have wrong in my
If I run
ssh-add -l this list is > 5
So I have more than 5 keys in my ssh-agent and it seem to insist on looping through all my keys in my agent (whith none of them fitting, cause I didnt create a key for this server) before reaching
I also read this: SSH aborts with Too many authentication failures
But I couldn't find the solution there, (maybe because of lack of understanding)
The only way to login for me is to call ssh with the option PreferredAuthentications=password:
ssh -o PreferredAuthentications=password host.example.org
But that is just a workaround. How can I fix this?