ssh to only use keys provided by
ssh-agent, and ignore any identity files in
~/.ssh. What's the best way to do that?
Background: I need to authenticate against a Git server via SSH. I have a
~/.ssh/id_rsa which authenticates properly, but its associated Git user does not have the correct repository access permissions. So I need to use a different key, which I can only provide via
ssh-agent, to authenticate as the correct Git user. However, as SSH seems to give local identity files precedence over agent-provided ones, I always end up being authenticated as the wrong user.