[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#631189: openssh-server: sshd_config should support "include" directive



Алексей Малов <scukonick@gmail.com> writes:

> I think, openssh-server should support "include" directive. I have a
> lot of sshd_config files that are mostly the same, except for some
> small differences. For example, ListenAddress could be different
> because a host has a bunch of virtual interfaces that ssh should not
> listen on. Also, it is very useful, when configure with systems like
> puppet.

I wished for an include directive quite a lot of times in the past, but
since then, ended up liking my workaround better: I use cpp to
preprocess my sshd configs before deployment, thus I automatically get
#include and a bunch of other stuff.

While it's not as convenient as sshd supporting Include by itself, it
works. And doesn't need any changes to openssh (implementing include
properly is not all that trivial, imo).

-- 
|8], a random user who just happened to stumble upon this wishlist
report.




Reply to: