[Bug 1585] Allow an `Include' option which reads another config file in place and does not error out when `Include' file not readable

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Fri Apr 17 23:26:38 AEST 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=1585

--- Comment #18 from andrew at mcnaughty.com ---
I think this is an obviously useful thing to add to openssh, and I've
yet to see any argument against it, but given that it's been 6 years
I'm not holding my breath.

As a simple workaround, I'd suggest people create a directory called
`.ssh/config.d`, touch `.ssh/config.d/00_empty` and add a line to their
`.bashrc` like `cat .ssh/config.d/* > .ssh/config`.

All of that could be done in the skeleton home directory for new users.
 (On a debian system, that's /etc/skel), or it could be done through a
configuration management system like puppet if you use that.

This is slightly different to the include statement idea, but should
cover most use cases.  For the actual include statement approach, I'm
sure it would be possible to do something similar as a pre-processed
macro.

Is there a better way to trigger this than in .bashrc?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list