Gnome 46 breaks gnome-kering ssh integration
Describe your issue
What's the expected behaviour?
Upon opening the terminal and trying to log in to a remote box via SSH Gnome Keyring will show a GUI popup asking for the key passphrase -- but only once; afterwards the keys will be cached until the login session is alive.
What's the current behaviour?
Using ssh the passhrase dialog is not shown, but the passphase is asked for within the terminal again and again.
How to reproduce your issue?
Upgrade to Gnome 46 and try to use ssh. ;)
What device are you using?
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Environments
-
GNOME Shell on Mobile -
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway) Please post the output of sxmo_version.sh
-
Other: Please fill out
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
Additional information
Tips and workarounds can be found here:
- https://joshtronic.com/2024/03/10/gnome-keyring-disables-ssh-agent/
- https://www.adamsdesk.com/posts/fix-gnome-keyring-ssh-auth-sock/
but they don't really help, as gcr-ssh-agent
is installed but won't autostart and starting it by hand will result in a segfault anyway.
The only workaround is:
- put
eval $(ssh-agent)
in your.profile
- add
AddKeysToAgent yes
to the top of~/.ssh/config
(outside of anyHost
-blocks) - log out and back in again
Edited by Administrator