Suggestion for %h in ControlPath

Raphael Payen raphael.payen at
Mon Sep 15 04:50:46 EST 2008


Just a suggestion : in the ControlPath syntax, you could add a %H that
would expand to the name of the "Host" specification matched, + %h.

In my opinion, when you add a "Host" paragraph with a different name
for the same target host, generally you dont want to reuse the same
control socket. Of course you can write different ControlPath
directives in each specification paragraph, but i would find it better
to be able to avoid it. And there can be people adding specifications
without even knowing realizing that will reuse the same ControlPath.
(that has been my case recently, as you might have guessed :) ).

Best regards,

Raphael Payen

More information about the openssh-unix-dev mailing list