A server was set to accept three login attempts. The
ssh system is checking three identity files before choosing the correct one.
The ssh command is as follows:
ssh -i ~/.ssh/username firstname.lastname@example.org -v
The three identity files are as follows:
debug2: key: /path/to/.ssh/identity1 debug2: key: /path/to/.ssh/identity2 debug2: key: /path/to/.ssh/identity3 debug2: key: /path/to/.ssh/username
How can I remove the three incorrect identity files? I have already tried deleting them from the directory, also I tried updating
~/.ssh/config as follows:
Host xx.xx.xx.xxx User username IdentityFile ~/.ssh/username
How can I get have
ssh to use the correct identity file?