Ubuntu Version:
25.04, updated from 24.10
Desktop Environment (if applicable):
GNOME
Problem Description:
I want to store my SSH keys in the “system keyring”. But I’m a bit confused about the ssh agent configuration.
My $SSH_AUTH_SOCK
is /run/user/1000/keyring/ssh
.
ps shows there are two agents running
3619 ? Ssl 0:00 /usr/libexec/gcr-ssh-agent --base-dir /run/user/1000/gcr
16457 ? S 0:00 /usr/bin/ssh-agent -D -a /run/user/1000/keyring/.ssh
For gcr, there is another socket /run/user/1000/gcr/ssh
.
Then there is
3215 ? SLsl 0:00 /usr/bin/gnome-keyring-daemon --foreground --components=pkcs11,secrets --control-directory=/run/user/1000/keyring
To conclude, there are three different sockets on my system. Which one should be used in Ubuntu 25.04?
It looks like ssh is actually using the gnome-keyring-daemon which I read is outdated and should be replaced by the gcr-ssh-agent?
ssh-add -l
shows a list of 4 keys which I can also see in seahorse. The passwords are also stored in the keyring and they are unlocked at login (at least I don’t have to insert any password).
Some somebody help me with my confusion?