You are not logged in.

#1 2014-08-31 21:20:29

tomas.havlas
Member
Registered: 2012-06-07
Posts: 7

gnome-keyring when connected over ssh

Hi,

I would like to use gnome-keyring when I connect to my remote server over ssh to automatically unlock ssh keys located on this machine.
I've found article on archlinux wiki (https://wiki.archlinux.org/index.php/GNOME_Keyring) and modified my /etc/pam.d/sshd file and created .xinitrc file at user home directory, but it is not working.
I'm using passwordless authentication (using ssh keys) to connect on this remote machine so I understand that my gnome-keyring is not automatically unlocked. I'd like to be asked for password to keyring on first attempt to use it and remember it till I logout, is there some way how to configure it so it will behave like this?
With current configuration when I check journalctl -xn I get following error mesages, related to my actions:
When I login using ssh I get error

gnome-keyring-daemon[11439]: couldn't connect to dbus session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

When I try to connect to another machine using ssh key, which should be unlocked by keyring:

gnome-keyring-daemon[11439]: couldn't create system prompt: Error spawning command line 'dbus-launch --autolaunch=eeb84e21230347e9937f71aa705f9731 --binary-syntax --close-stderr': Child process exited with code 1

Thanks

Offline

Board footer

Powered by FluxBB