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...
floris_1P
1Password Team
4 years agoI'm guessing that that's because you've specified multiple keys as IdentityFile
. If you want control over which key is used, your SSH config should be more explicit. For example:
```
IdentityFile ~/.ssh/id_ed25519.pub
Host host-that-uses-the-rsa-key
IdentityFile ~/.ssh/id_rsa.pub
```
Or even more explicit:
```
Host host-that-uses-the-rsa-key
IdentityFile ~/.ssh/id_rsa.pub
Host host-that-uses-the-ed25519-key
IdentityFile ~/.ssh/id_ed25519.pub
```