~/.ssh/config
:
# Bitbucket for acc1
Host bb.acc1
HostName bitbucket.org
IdentityFile ~/.ssh/<acc1_keypair>
# Bitbucket for acc2
Host bb.acc2
HostName bitbucket.org
IdentityFile ~/.ssh/<acc2_keypair>
Example of usage: git clone [email protected]:repo.git
or git clone [email protected]:repo.git