effective configuration

The settings a program actually uses once it has read every file, include and built-in default, which can differ from what any single file says.

In more detail

Configuration is often spread across a main file, included drop-in files and defaults that nobody wrote down. For OpenSSH, sshd -T parses everything, fills in defaults and prints the result without starting the server, which is the evidence an audit should compare with the standard. Searching one file with grep answers a different question and can miss an override.

Examples

sshd -T -f test_config -h hostkey | grep -Ei '^(permitrootlogin|passwordauthentication)'
passwordauthentication yes

Related terms

Taught in

References