Include for sshd_config

Jakub Jelen jjelen at redhat.com
Fri Apr 7 22:05:15 AEST 2017


On 04/07/2017 11:54 AM, navern wrote:
> Hello,
>
> 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:

https://bugzilla.mindrot.org/show_bug.cgi?id=2468

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.

Regards,
-- 
Jakub Jelen
Software Engineer
Security Technologies
Red Hat


More information about the openssh-unix-dev mailing list