ssh -i ~/.ssh/username username@xx.xx.xx.xxx -v
Server is set to accept only 3 log on tries. The ssh system is trying 3 identity files before attempting the correct identity file.
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 3 incorrect identity files? I have already tried deleting them from the directory.
I have also tried updating ~/.ssh/config
Host xx.xx.xx.xxx
User username
IdentityFile ~/.ssh/username
How can I get have ssh use the correct identity file?