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...
tonkku107
4 years agoOccasional Contributor
SSH config:
```
IdentityFile ~/.ssh/id_ed25519.pub
IdentityFile ~/.ssh/id_rsa.pub
Host *
IdentityAgent ~/.1password/agent.sock
Host aur.archlinux.org
IdentityFile ~/.ssh/aur.pub
User aur
[repeating below for different servers]
Host [server-alias]
HostName [ip address]
User [username]
4096 SHA256:Gu0EFgYpwVbLsqX5nDEL5V1jUfryMTe7FR8AUUsg4+E (RSA)
256 SHA256:WdVfgHlD0C2HEq9y60mYiah/4lY8xhitK1wY1pvYKjk (ED25519)
3072 SHA256:S9scRLenmjLjv4srb9n5dIkYu9MM2ihZDXVbLxW4KNg (RSA)
```
For that host specific AUR configuration, it works perfectly and unlocks the aur key first.
The global configuration doesn't work and just uses the RSA key first anyway.