You are not logged in.
Hi,
some time ago, I setup gnome keyring on my system to deal with ssh and gpg.
Worked fine for about a year but I just now noticed, it does not work for the ssh stuff anymore.
So I checked if the gnome-keyring service was still running (it is) and if it still set the env variables (it does not).
The code I was using to set the SSH_AUTH_SOCK was:
SSH_AUTH_SOCK= `ss -xl | grep -o '/home/p91/.cache/keyring-*/ssh$'`
[ -z "$SSH_AUTH_SOCK" ] || export SSH_AUTH_SOCK
ss -xl still shows the ssh socket but the value is not set, SSH_AUTH_SOCK is always empty.
Has anyone an idea?
https://wiki.archlinux.org/index.php/GN … atic_login also has similar code (but it is using the /run/user folder instead of /home/user/.cache/
Offline
My (automatically) set SSH_AUTH_SOCK is just "/run/user/1000/keyring/ssh" (not /run/user/1000/keyring-xxxx). The wiki might simply be outdated - does it work if you remove the custom env setting completely?
Last edited by hokasch (2014-09-01 13:59:31)
Offline
p90, you use incorrect filename for the socket. Here is what wiki says:
SSH_AUTH_SOCK=`ss -xl | grep -o '/run/user/1000/keyring-.*/ssh'`
[ -z "$SSH_AUTH_SOCK" ] || export SSH_AUTH_SOCKRead it before posting http://www.catb.org/esr/faqs/smart-questions.html
Ruby gems repository done right https://bbs.archlinux.org/viewtopic.php?id=182729
Fast initramfs generator with security in mind https://wiki.archlinux.org/index.php/Booster
Offline
p90, you use incorrect filename for the socket. Here is what wiki says:
SSH_AUTH_SOCK=`ss -xl | grep -o '/run/user/1000/keyring-.*/ssh'` [ -z "$SSH_AUTH_SOCK" ] || export SSH_AUTH_SOCK
Hi,
at least here, these files do not exist so I have to use the ones in my home folder.
I got it to work with this:
SSH_AUTH_SOCK=`ss -xl | grep -o '/home/p91/.cache/keyring-.*/ssh'`
[ -z "$SSH_AUTH_SOCK" ] || export SSH_AUTH_SOCKApaprently, it does not like the $ at the end.
With best regards,
p90
Offline