Re: [systemd-devel] systemd + ssh-agent

2013-02-18 Thread Kok, Auke-jan H
On Mon, Feb 18, 2013 at 1:16 PM, Oleksii Shevchuk wrote: > I use this (with pam_gnome_keyring): > > > cat gnome-keyring-env.service > [Unit] > Description=Setup gnome keyring environment > > [Service] > Type=oneshot > ExecStart=/bin/sh -c "for env in $(gnome-keyring-daemon -s); do systemctl > --

Re: [systemd-devel] systemd + ssh-agent

2013-02-18 Thread Oleksii Shevchuk
I use this (with pam_gnome_keyring): > cat gnome-keyring-env.service [Unit] Description=Setup gnome keyring environment [Service] Type=oneshot ExecStart=/bin/sh -c "for env in $(gnome-keyring-daemon -s); do systemctl --user set-environment $env; done" ExecStop=/bin/sh -c "for env in GNOME_KEYR

[systemd-devel] systemd + ssh-agent

2013-02-18 Thread Dan Tihelka
Hello, from time to time I must connect through ssh to mu work desktop and make some synchronization, which requires ssh key-based authentication (so ssh from home to work desktop, followed by ssh from desktop to another server, e.g. svn). What I was faced is the inability to use ssh-agent when