I am having trouble logging in to one of my machine using public key authentication, so I want to debug the problem. I have a complex ssh config file, that I want to ignore for the time being until I find the problem. So I am specifying everything on the command line:
ssh -F /dev/null -vvv -i ~/.ssh/mykey -p 12345 myuser@mymachine
But ssh keeps on offering lots of public key files (all of them failing) instead of simply offering the one I force in the command line.
It actually offers all keys that I have in my
~/.ssh directory. It starts offering the one I am forcing, but that fails (I do not yet know why), and then it keeps on offering the rest of pubkeys in the
Why is that? I would expect that after
mykey fails, it should stop trying.