Include for sshd_config
livingdeadzerg at yandex.ru
Tue Apr 11 06:02:41 AEST 2017
On 07.04.2017 15:05, Jakub Jelen wrote:
> On 04/07/2017 11:54 AM, navern wrote:
>> Afaik there was added Include feature for ssh_config. I want to add this
>> option to sshd_config as well. I think about local patch(i am not sure
>> this will be required for upstream).
>> Code for Include option in readconf.c doesn't look very specific. Is
>> there some reason why this wasn't introduced for sshd_config as well?
>> Maybe someone already have patch for this feature? It would be great
>> because i am pretty awful C programmer.
> This is already implemented in the following bugzilla:
> The code gets little bit more complicated because of requirement to
> re-read the configuration for every incoming connection. Giving a test
> and comments would be very appreciated.
I've fixed this patch a little to apply it to version 7.4p1. I will test
it in following week and let you know about results. Thanks for the patch.
More information about the openssh-unix-dev