You are not logged in.
I just installed a fresh arch system with GDM / Gnome. I proceeded to activate GCR:
systemctl --user enable gcr-ssh-agent.socket
(systemctl --user enable gcr-ssh-agent.service) - done to test it, should not be required as far as the wiki statesAfterwards I rebooted and as far as the configuration goes everything seems to be correct. The socket / service are started without errors and /run/user/1000/gcr/ssh is set to
/run/user/1000/gcr/sshin my case (using Gnome Console with fish). TThe problem is, that I can't connect via ssh keys, it seems to be an issue with the ssh agent. If I try to log into an server it reaches debug1: Server accepts key: /home/MYUSERNAME/.ssh/id_ed25519 ... and stucks there instead of using the key. If I unset SSH_AUTH_SOCK and thus disabling gcr for the session I'm able to authenticate and login with the key.
There are no error messages in journalctl etc.
Is there something I can do to further debug this issue?
Last edited by Kagu (2025-02-03 12:14:29)
Offline
What does the journal say on the target machine? Is gcr-ssh still running afterwards, e.g. it didn't crash? preferably share full logs, not just excerpts (no, your journal should not contain any sensitive information, you do not need to cut it).
journalctl -b 0 | curl -F 'file=@-' 0x0.st
ystemctl --user status gcr-ssh-agent.{socket,service}Last edited by jl2 (2025-02-01 20:35:20)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
The gcr-ssh service is still running. I got it to work by adding my SSH-Keys via secret tool, e.g.
secret-tool store --label="PW id_ed25519" unique ssh-store:$HOME/.ssh/id_ed25519I don't know why I need to use this method, as the first time I tried to unlock the ssh-key the usual Gnome popup with the password prompt showed up which stores it in seahorse, thus I thought it should also look in seahorse for the actual password.
Offline
Well that makes sense that you need to tell it to use your keys.
If it is solved for you, mark this post as solved by editing the OP and prepending '[SOLVED]'
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline