On Sun, Oct 01, 2017 at 07:26:46PM +0200, Klemens Nanni wrote:
> "Shorthand" suggests %C will yield the same as %l%h%p%r. Stating
> that it's in fact a hashed version (SHA1) of it without being too
> precise makes things clearer, especially for readers of the ControlPath
> bits:
> 
>       It is recommended that any ControlPath [...] include at least
>       %h, %p, and %r (or alternatively %C) [...]. This ensures that
>       shared connections are uniquely identified.
> 
> That way %C will make more sense with regard to unique socket names.
> 
> Feedback?
> 

fixed, thanks.
jmc

> 
> diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5
> index eab8dd01c22..94bc5cef731 100644
> --- a/usr.bin/ssh/ssh_config.5
> +++ b/usr.bin/ssh/ssh_config.5
> @@ -1683,7 +1683,7 @@ which are expanded at runtime:
>  A literal
>  .Sq % .
>  .It \&%C
> -Shorthand for %l%h%p%r.
> +Hash of %l%h%p%r.
>  .It %d
>  Local user's home directory.
>  .It %h
> 

Reply via email to