summaryrefslogtreecommitdiffstats
path: root/doc/gpg-agent.texi
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-10-26 14:25:47 +0200
committerWerner Koch <wk@gnupg.org>2010-10-26 14:25:47 +0200
commit0f721abddfc3263b3b36f40134348397fc7ae379 (patch)
tree7816373b0c1bd0bbf6a55e03946285f9916ad636 /doc/gpg-agent.texi
parentRe-implemented GPG's --passwd command and improved it. (diff)
downloadgnupg2-0f721abddfc3263b3b36f40134348397fc7ae379.tar.xz
gnupg2-0f721abddfc3263b3b36f40134348397fc7ae379.zip
Diffstat (limited to 'doc/gpg-agent.texi')
-rw-r--r--doc/gpg-agent.texi14
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