home | list info | list archive | date index | thread index

is there an "include" directive for /etc/sshd_config?

  currently, in a number of embedded systems i'm working with, in
setting up the target's sshd, the installed /etc/sshd_config file is
adjusted as needed by manually hacking the file with things like sed,
as in:

  # allow root login
  sed -i 's#.*PermitRootLogin.*#PermitRootLogin yes#' ${D}${sysconfdir}/ssh/sshd_config
  # disable DNS lookups
  sed -i 's#.*UseDNS.*#UseDNS no#' ${D}${sysconfdir}/ssh/sshd_config

this all works fine, but does sshd_config support any sort of include
directive so i could just "include" or "require" my local tweaks? i've
looked, didn't see it, and suspect that's not supported for obvious
security reasons, but i just thought i'd ask in case i overlooked
something.

rday

To unsubscribe send a blank message to linux+unsubscribe [ at ] linux-ottawa [ dot ] org
To get help send a blank message to linux+help [ at ] linux-ottawa [ dot ] org
To visit the archives: https://lists.linux-ottawa.org