diff options
author | Werner Koch <wk@gnupg.org> | 2010-10-26 14:25:47 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2010-10-26 14:25:47 +0200 |
commit | 0f721abddfc3263b3b36f40134348397fc7ae379 (patch) | |
tree | 7816373b0c1bd0bbf6a55e03946285f9916ad636 /doc/gpg-agent.texi | |
parent | Re-implemented GPG's --passwd command and improved it. (diff) | |
download | gnupg2-0f721abddfc3263b3b36f40134348397fc7ae379.tar.xz gnupg2-0f721abddfc3263b3b36f40134348397fc7ae379.zip |
Update scripts etc.gnupg-2.1.0beta1gnupg-2.1-base
Diffstat (limited to 'doc/gpg-agent.texi')
-rw-r--r-- | doc/gpg-agent.texi | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/gpg-agent.texi b/doc/gpg-agent.texi index 02a2c28a9..c0c05d58e 100644 --- a/doc/gpg-agent.texi +++ b/doc/gpg-agent.texi @@ -52,13 +52,24 @@ independently from any protocol. It is used as a backend for @command{gpg} and @command{gpgsm} as well as for a couple of other utilities. +@ifset gpgtwoone +The agent is usualy started on demand by @command{gpg}, @command{gpgsm}, +@command{gpgconf} or @command{gpg-connect-agent}. Thus there is no +reason to start it manually. In case you want to use the included +Secure Shell Agent you may start the agent using: + +@example +gpg-connect-agent /bye +@end example +@end ifset + +@ifclear gpgtwoone @noindent The usual way to run the agent is from the @code{~/.xsession} file: @example eval $(gpg-agent --daemon) @end example - @noindent If you don't use an X server, you can also put this into your regular startup file @code{~/.profile} or @code{.bash_profile}. It is best not @@ -94,6 +105,7 @@ fi @noindent It reads the data out of the file and exports the variables. If you don't use Secure Shell, you don't need the last two export statements. +@end ifclear @noindent You should always add the following lines to your @code{.bashrc} or |