drop-in file

A small extra configuration file placed in a directory that a main configuration file includes, used to add or change settings without editing the main file.

In more detail

Installers and tools such as cloud-init write drop-ins so their settings survive upgrades of the main file. Drop-ins are read in sorted filename order at the point where the Include line sits. For sshd the first value read wins, so a drop-in included at the top can silently override a carefully hardened main file, which is why audits check the effective configuration.

Examples

/etc/ssh/sshd_config.d/50-cloud-init.conf
Include sshd_config.d/*.conf

Related terms

Taught in

References