Disable password prompt
I use publickey authentication. If I mistype the key pass phrase it then prompts me for a password rather than retrying the key pass phrase. There should be an option to disable password authentication so this doesn't happen. Or even better you should look at what the server accepts.