How to tell gpg not to start gpg-agent on a remote machines when using gpg agent forwarding

Peter Lebbing peter at digitalbrains.com
Thu Apr 4 16:58:35 CEST 2019


On 04/04/2019 14:03, Thomas Glanzmann wrote:
> Is there a configuration option that I can specify so that gpg gives
> up is there is no socket or no agent behind a socket instead of
> starting a new agent?

From the man page:

| --no-autostart
|       Do not start the gpg-agent or the dirmngr if it has not yet been
|       started and its service is required.  This option is mostly use‐
|       ful on machines where the connection to gpg-agent has been redi‐
|       rected to another machines.   If  dirmngr  is  required  on  the
|       remote  machine,  it  may  be  started  manually  using  gpgconf
|       --launch dirmngr.

If you want to put this in the gpg.conf configuration file, drop the two
leading dashes (this is generally the case).

HTH,

Peter.

-- 
I use the GNU Privacy Guard (GnuPG) in combination with Enigmail.
You can send me encrypted mail if you want some privacy.
My key is available at <http://digitalbrains.com/2012/openpgp-key-peter>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20190404/f199e063/attachment.sig>


More information about the Gnupg-users mailing list