meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
sw:gpg:forwarding [2022/10/06 10:42] niziaksw:gpg:forwarding [2022/10/07 22:04] niziak
Line 8: Line 8:
  
 ===== local machine ===== ===== local machine =====
 +
 +Ensure ''gpg-agent'' is running:
 +<file bash ~/.bashrc>
 +# Launch gpg-agent if not started
 +export GPG_TTY="$(tty)"
 +gpgconf --launch gpg-agent
 +</file>
  
 Public and secret key must be present on local machine Public and secret key must be present on local machine
Line 17: Line 24:
 Get ''gpg-agent'' socket paths on local and **remote** machines: Get ''gpg-agent'' socket paths on local and **remote** machines:
 <code bash> <code bash>
-$ gpgconf--list-dirs agent-extra-socket+$ gpgconf --list-dirs agent-extra-socket
 /run/user/1000/gnupg/S.gpg-agent.extra /run/user/1000/gnupg/S.gpg-agent.extra
 </code> </code>