%h,%p,%u expansion for ControlPath

David Woodhouse dwmw2 at infradead.org
Sat Jun 18 08:04:28 EST 2005


On Thu, 2005-06-16 at 13:29 +1000, Damien Miller wrote:
> I'm not sure about the persist option; it would be useful, but probably
> confusing (especially amongst all the other ControlMaster options).
> Maybe users should just do "ssh -nNf host" instead...

That's not really a good enough solution -- it needs to be automatic,
really. I'm inclined to agree about 'all the other ControlMaster
options', which is why I wonder if we should make it (and maybe also
'ask') a separate option.

My first cut isn't good enough either though -- it doesn't work with
protocol 1, because it forks and waits for the '-nNf' child which then
obviously doesn't actually hold a control socket open for it.

I think we need to get as far as making the connection and
authenticating before we fork -- either that or we fork into the
background after the client which starts it has finished its session.
I'll take another look when I can next snatch a few minutes.

-- 
dwmw2




More information about the openssh-unix-dev mailing list