OS Manuals

/usr/bin/gpg-connect-agent

GNU Privacy Guard 2 - core configuration utilities

From gnupg-fips-gpgconf 2.4.9-r13 (enterprise-packages), captured 2026-11-08 by running gpg-connect-agent --help (exit 0). permalink

gpg-connect-agent (GnuPG) 2.4.9
Copyright (C) 2025 g10 Code GmbH
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /tmp/.gnupg

Syntax: gpg-connect-agent [options]
Connect to a running agent and send commands


Options:

 -v, --verbose           verbose
 -q, --quiet             quiet
     --hex               print data out hex encoded
     --decode            decode received data lines
     --dirmngr           connect to the dirmngr
     --keyboxd           connect to the keyboxd
 -S, --raw-socket NAME   connect to Assuan socket NAME
 -T, --tcp-socket ADDR   connect to Assuan server at ADDR
 -E, --exec              run the Assuan server given on the command line
     --no-ext-connect    do not use extended connect mode
 -r, --run FILE          run commands from FILE on startup
 -s, --subst             run /subst on startup
     --no-history        do not use the command history file

Please report bugs to <https://bugs.gnupg.org>.
Options (21)
OptionDescriptionSource
-v, --verboseOutput additional information while running.help + man + man
-q, --quietTry to be as quiet as possible.help + man + man
--hexPrint data lines in a hex format and the ASCII representation of non-control characters.help + man
--decodedecode received data lineshelp + man
--dirmngrConnect to a running directory manager (keyserver client) instead of to the gpg-agent.help + man
--keyboxdConnect to a running keybox daemon instead of to the gpg-agent.help + man
-S, --raw-socket NAMEConnect to socket name assuming this is an Assuan style server.help + man + man
-T, --tcp-socket ADDRconnect to Assuan server at ADDRhelp
-E, --execTake the rest of the command line as a program and it's arguments and execute it as an Assuan server.help + man + man
--no-ext-connectWhen using -S or --exec, gpg-connect-agent connects to the Assuan server in extended mode to allow descriptor passing.help + man
-r, --run FILERun the commands from file at startup and then continue with the regular input method.help + man + man
-s, --substRun the command /subst at startup.help + man + man
--no-historyIn interactive mode the command line history is usually saved and restored to and from a file below the GnuPG home directory.help + man
--homedir dirSet the name of the home directory to dir. (in the manual page but not in --help)man
--chuid uidChange the current user to uid which may either be a number or a name. (in the manual page but not in --help)man
--no-autostartDo not start the gpg-agent or the dirmngr if it has not yet been started. (in the manual page but not in --help)man
--agent-program fileSpecify the agent program to be started if none is running. (in the manual page but not in --help)man
--dirmngr-program fileSpecify the directory manager (keyserver client) program to be started if none is running. (in the manual page but not in --help)man
--keyboxd-program fileSpecify the keybox daemon program to be started if none is running. (in the manual page but not in --help)man
-u (in the manual page but not in --help)man
--unbufferedSet stdin and stdout into unbuffered I/O mode. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.