SSH_AUTH_SOCK went missing from the session
SSH_AUTH_SOCK
is not set anymore in gnomeos, likely ever since we switched from gnome-keyring ssh-agent to gcr's.
gcr-ssh-agent.service
is enabled and running and if you set the variable manually (export SSH_AUTH_SOCK=$XDG_RUNTIME_DIR/gcr/ssh
) the ssh-agent picks it up, but by default it's unset.
The service also sets the variable as expected so not sure what's wrong.
$ cat /usr/lib/systemd/user/gcr-ssh-agent.service
[Unit]
Description=GCR ssh-agent wrapper
Requires=gcr-ssh-agent.socket
[Service]
Type=simple
StandardError=journal
Environment=SSH_AUTH_SOCK=%t/gcr/ssh
ExecStart=/usr/libexec/gcr-ssh-agent --base-dir %t/gcr
Restart=on-failure
[Install]
Also=gcr-ssh-agent.socket
WantedBy=default.target
$ echo $SSH_AUTH_SOCK
Edited by Jordan Petridis