[arch-general] Starting gpg-agent on X login (gdm)

Frédéric Perrin frederic.perrin at resel.fr
Mon Apr 27 07:24:30 EDT 2009


Le Lundi 27 à 5:12, Shridhar Daithankar a écrit :
> Hmm.. I use kde and there is nothing for ssh-agent in /etc. I think it
> should go in shell startup so that even non-gui session have ssh-agent
> too.

I would agree with that. Having it enabled for everyone, I'm not sure.
You should consider adding it to /etc/skel if you have several users and
you want it to be pre-configured for every user you wall add.

> #Start ssh-agent. Don't want to use agent from last session if it persits at 
> all.
>
>> Should I look into using seahorse instead of {ssh,gpg}-agent?
>
> and I got to find a KDE equivalent too. :)

Choose a desktop agnostic one : keychain will automagically start
{ssh,gpg}-agent or use one if it is available. I find it nice to log in
into my desktop computer on the morning, unlock my SSH keys, and then
when later I'm moving, I can log back to my desktop and from there use
my SSH key to login to further machines. I guess it depends on your
computing habits. And well, I you really want only one daemon, you can
still tell keychain ot use gpg-agent's --enable-ssh-support (I never
tried).

Just add to your .${SHELL}login :

keychain
. ~/.keychain/chameau-sh
. ~/.keychain/chameau-sh-gpg

<http://www.gentoo.org/proj/en/keychain/index.xml>

-- 
Fred


More information about the arch-general mailing list