I'm trying to use the .ssh/config file to use identityFile I'm sure the syntax of the file is 100% correct as it only contain two lines.
host * IdentityFile /path/to/private/key
I tried -vvv and I get this error at the end of the trial
debug2: we did not send a packet, disable method debug1: No more authentication methods to try. Permission denied (publickey).
when i use ssh user@host -i same/private/key it works just fine.
I tried deleting know_hosts and everything else I could.