Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
tonkku107
4 years agoOccasional Contributor
[I-19] SSH key priority option?
I currently have 2 personal SSH keys, one RSA and one Ed25519 and am in the process of moving from the RSA key to the Ed key. Previously, I used to have the Ed key defined first in the ssh config via...
Lachy
4 years agoOccasional Contributor
I also need support for IdentityFile
, or at least an alternative solution. With ssh-agent, it's the only way I've found to have both work and personal accounts on Bitbucket that require distinct private keys. My ~/.ssh/config file is full of configs to know which keys are preferred on which hosts.
For example:
```
Host bitbucket.org
IdentityFile ~/.ssh/id_ed25519 # Used for Work account
Host personal.bitbucket.org
HostName bitbucket.org
User git
IdentityFile ~/.ssh/id_ecdsa # Used for Personal account
```
This has also helped me keep track of which public keys are with which services, because not everything supported Ed25519 when I set up the keys.