I have two accounts on Bitbucket and an SSH key for each one. This is how my ~/.ssh/config
looks like:
Host bitbucket.org
User git
IdentityFile ~/.ssh/bitbucket/account1
Host bitbucket.org
User git
IdenfityFile ~/.ssh/bitbucket/account2
The problem is that the SSH agent seems to be unable to deal with two keys for the same host at the same time and I have to remove one of them to be able to use the other one.
Is there a workaround?