ssh-agent startup

Guillaume guillaume.chardin at gmail.com
Fri Dec 26 14:08:10 UTC 2008


Thank you, this seems to works too with ssh-agent. But after user
disconnection, there is still "gpg-agent" daemon running in background. I
read on some forum I have to add some lines in ~/.bash_logout to end
pgp-agent process running. Is there a global bash_logout like /etc/profile ?


2008/12/26 Anne Wilson <annew at kde.org>

> On Friday 26 December 2008 12:41:30 Guillaume wrote:
> > Hi,
> > For now, when I  want to use ssh-agent, i have to open a shell, and then
> > use this command 'ssh-agent /bin/bash' to be able to use the ssh-agent
> > fonctionnality.
> >
> > I would like to know if there is a tip to start ssh-agent at user login.
> > Like editing /etc/passwd an adding in the "shell field"
> /usr/bin/ssh-agent
> > /bin/bash like that :
> >               ***/etc/passwd***
> >               user:x:500:500::/home/user:/usr/bin/ssh-agent /bin/bash
> >
> > And by the way avoiding multi nested bash execution, avoid user to type
> > this command or multiple edit/modify of .bashrc of all my users.
> >
> > thanks for your help.
>
> Add 'eval "$(gpg-agent --daemon)" ' to your ~/.bashrc or .bash_profile
>
> As far as I know it will work from either
>
> Anne
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines:
> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>



-- 
Guillaume
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20081226/8ee1e6cc/attachment-0001.htm>


More information about the fedora-list mailing list