[PATCH] Make "ssh" try different configuration filenames

Damien Miller djm at mindrot.org
Mon Aug 29 23:29:39 AEST 2016

On Mon, 29 Aug 2016, Philipp Marek wrote:

> 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. 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


More information about the openssh-unix-dev mailing list