meta data for this page
  •  

Differences

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

Link to this comparison view

Next revisionBoth sides next revision
sw:gpg:forwarding [2022/10/06 10:25] – created niziaksw:gpg:forwarding [2022/10/06 10:32] niziak
Line 3: Line 3:
 Search tags: ''pgp'' ''gpg'' ''remote'' ''gpg-agent'' ''gpg-agent forwarding''. Search tags: ''pgp'' ''gpg'' ''remote'' ''gpg-agent'' ''gpg-agent forwarding''.
  
-Source: [[https://mlohr.com/gpg-agent-forwarding/|GPG Agent Forwarding by Matthias Lohr]]+Source: 
 +  * [[https://mlohr.com/gpg-agent-forwarding/|GPG Agent Forwarding by Matthias Lohr]] 
 +  * [[https://wiki.gnupg.org/AgentForwarding|Forwarding gpg-agent to a remote system over SSH]]
  
 ===== local machine ===== ===== local machine =====
Line 32: Line 34:
 ===== remote machine ===== ===== remote machine =====
  
-Public key must be imported on remote machine+Public key must be imported on remote machine
 <code bash> <code bash>
 gpg --import usert@example.com-public.asc gpg --import usert@example.com-public.asc
Line 41: Line 44:
 </code> </code>
  
 +
 +Modify ssh server configuration to enable automatic removal of stale sockets when connecting to the remote machine:
 +<file config /etc/ssh/sshd_config>
 +StreamLocalBindUnlink yes
 +</file>