bugzilla-daemon at mindrot.org
2013-Aug-28  20:33 UTC
[Bug 2146] New: Add ability to have a ~/.ssh/config.d directory with smaller configs
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: unassigned-bugs at mindrot.org
          Reporter: hugh at davenport.net.nz
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.
bugzilla-daemon at mindrot.org
2014-Oct-02  14:16 UTC
[Bug 2146] Add ability to have a ~/.ssh/config.d directory with smaller configs
https://bugzilla.mindrot.org/show_bug.cgi?id=2146
?loi Rivard <azmeuk at gmail.com> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |azmeuk at gmail.com
--- Comment #1 from ?loi Rivard <azmeuk at gmail.com> ---
This would be great to have the same feature for sshd too.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2020-Jan-25  13:46 UTC
[Bug 2146] Add ability to have a ~/.ssh/config.d directory with smaller configs
https://bugzilla.mindrot.org/show_bug.cgi?id=2146
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
You can achieve this via the ssh_config Include directive
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Apr-23  05:04 UTC
[Bug 2146] Add ability to have a ~/.ssh/config.d directory with smaller configs
https://bugzilla.mindrot.org/show_bug.cgi?id=2146
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
closing resolved bugs as of 8.6p1 release
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.