You are not logged in.
Hello
My Gnome keyring is broken when trying to connect to a server via SSH.
Before that a graphical password prompt appeared when connecting the first time to a remote server. Now I get a "Enter passphrase for key" prompt each time connecting to a server.
When executing "ssh-add -L" to list the loaded key I get "Could not open a connection to your authentication agent.".
Anyone have an idea what's going wrong?
Last edited by bananagogo (2015-12-09 08:21:42)
Offline
That's this problem https://bbs.archlinux.org/viewtopic.php?id=196068 which has existed on Arch since gnome 3.16 arrived and still on gnome 3.18. Reboot and you will probably find it is ok. It is an intermittent problem probably due to some race-condition. As I say there you can hard-code
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/keyring/ssh"
in ~/.bashrc to avoid the problem. Personally, I just reboot.
Offline
Thank you, hard coding SSH_AUTH_SOCK worked.
Offline