Agent forwarding failure when the socketdir was autodeleted

Andre Heinecke aheinecke at intevation.de
Wed Oct 5 21:35:12 CEST 2016


Hi,

On Wednesday 05 October 2016 13:46:51 Daniel Kahn Gillmor wrote:
> > You may use
> > 
> >   gpgconf --create-socketdir
> > 
> > to create the directory w/o running any daemon.  It is a NOP if the
> > directory already exists.

Yes, that works but it's still a bit cludgy I'd like to have it working in a 
single ssh command.

> The trouble is that the socket directory needs to be created before ssh
> tries to forward the socket.  when doing a forward from the command
> line, the ssh channel that does socket forwarding is often established
> before the channel that runs any shell or other interactive behavior.
> 
> I really think this ought to be handled in OpenSSH.

Exactly. I wrote a mail to openssh-unix-dev as you suggested to ask about 
that. Let's see :-)

Regards,
Andre

-- 
Andre Heinecke |  ++49-541-335083-262  | http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 630 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20161005/6b867042/attachment.sig>


More information about the Gnupg-users mailing list