Along the lines of How to tell git which private key to use? I would like to use a specific ssh key in a given situation.
My problem is that even when I specify '-i something' ssh uses the keys from my ssh-agent in the order they are added.
My specific situation:
I have two github users, each with their own key I would like to - for example via a ssh-config - for each clone specify which key to use:
ssh -vt USER1.git
will still use USER2.id_rsa if that is the key first added to ssh-agent.