Thank you, this seems to works too with ssh-agent. But after user disconnection, there is still &quot;gpg-agent&quot; 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 ?<br>
<br><br><div class="gmail_quote">2008/12/26 Anne Wilson <span dir="ltr">&lt;<a href="mailto:annew@kde.org">annew@kde.org</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c">On Friday 26 December 2008 12:41:30 Guillaume wrote:<br>
&gt; Hi,<br>
&gt; For now, when I &nbsp;want to use ssh-agent, i have to open a shell, and then<br>
&gt; use this command &#39;ssh-agent /bin/bash&#39; to be able to use the ssh-agent<br>
&gt; fonctionnality.<br>
&gt;<br>
&gt; I would like to know if there is a tip to start ssh-agent at user login.<br>
&gt; Like editing /etc/passwd an adding in the &quot;shell field&quot; /usr/bin/ssh-agent<br>
&gt; /bin/bash like that :<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ***/etc/passwd***<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; user:x:500:500::/home/user:/usr/bin/ssh-agent /bin/bash<br>
&gt;<br>
&gt; And by the way avoiding multi nested bash execution, avoid user to type<br>
&gt; this command or multiple edit/modify of .bashrc of all my users.<br>
&gt;<br>
&gt; thanks for your help.<br>
<br>
</div></div>Add &#39;eval &quot;$(gpg-agent --daemon)&quot; &#39; to your ~/.bashrc or .bash_profile<br>
<br>
As far as I know it will work from either<br>
<font color="#888888"><br>
Anne<br>
</font><br>--<br>
fedora-list mailing list<br>
<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>
To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list" target="_blank">https://www.redhat.com/mailman/listinfo/fedora-list</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br></blockquote></div><br><br clear="all"><br>-- <br>
Guillaume<br>