https://bugzilla.mindrot.org/show_bug.cgi?id=2146
Bug ID: 2146
Summary: Add ability to have a ~/.ssh/config.d directory with
smaller configs
Product: Portable OpenSSH
Version: 6.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
Assignee: [email protected]
Reporter: [email protected]
I've seen forum posts about doing this as a hack in bash to allow it,
but was wondering whether it would be supported as a core feature. The
use case is like this.
I have several different environments, say
prod/test/work2/work3/home/otherhome, and they all require entries in
~/.ssh/config, but they are independant of each other. I may share
parts of that config, but it would be easier if they were all seperate
files in a directory such as
~/.ssh/config.d/{prod,test,work2,work3,home,otherhome} etc, then I can
just share the individual files.
I understand there may be a problem with ordering, so I would suggest
that the ~/.ssh/config is loaded first, and if there is something in
there (like an include(dir) directive), then loads the config.d (or
other specified directory) in directory listing order.
Does this seem like a reasonable feature, I would be happy to help with
development if it gets the OK from core devs that it is likely to be
integrated.
Cheers,
Hugh
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs