[PATCH] Make "ssh" try different configuration filenames

Philipp Marek philipp.marek at linbit.com
Mon Aug 29 23:33:05 AEST 2016


Hi Damien,


thanks for the quick feedback!


> > To provide a bit more backwards-compatible (which is nice for eg. NFS-
> > shared /home directories) try a few version-number based names.
> 
> I'm not sure about this. We already have an IgnoreUnknown directive to
> skip keywords that aren't supported.
    "Bad configuration option: IgnoreUnknown"


> Perhaps we could consider adding a
> percent_expand() to the include directive or a "localversion" clause to
> the "Match" keyword to get this capability in a more general form. E.g.
> 
> Match localversion 7.*
>   Include ~/.ssh/config/config-7x
That wouldn't help with old versions...
My patch would allow a newer SSH to read "its" config file, which (among 
other things) "Include"s the files for older versions as well...



Thanks for thinking about the merits!


More information about the openssh-unix-dev mailing list