Agent forwarding failure when the socketdir was autodeleted

Daniel Kahn Gillmor dkg at
Tue Oct 4 17:26:59 CEST 2016

On Tue 2016-10-04 08:03:06 -0400, Andre Heinecke wrote:

> Using GnuPG 2.1.15 I'm trying to SSH into a remote machine with OpenSSH 6.7 as 
> described under:
> The problem is that the remote system uses systemd so /var/run/user/<uid> 
> exits and GnuPG will use it.
> But if I am not logged in or there is no gnupg process running. systemd 
> autodeletes /var/run/user/<uid>/gnupg this causes the remote forward of the 
> Socket to fail because the directory for the socket does not exist and SSH 
> won't create it. :-/

If you're not logged in, then how does the remote forward work?  aren't
you actually still logged in (via ssh) as long as your remote forward is

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 930 bytes
Desc: not available
URL: </pipermail/attachments/20161004/42a0d5da/attachment.sig>

More information about the Gnupg-users mailing list