>_ IzzyLab

Topic breakdown

The sshd configuration is assembled from the main file and included pieces in the sshd_config.d/ directory — a modular approach in which a separate drop-in is cleaner than editing the monolith. A directive's value is determined by its occurrence in the final assembly, so it's important not to leave conflicting lines above. The syntax is validated with one sshd flag, and seeing the FINAL set of all effective parameters is another: it's this assembled configuration, not the file text, that you should compare against the goal.

What's checked

  1. sshd config is valid
  2. root login disabled
  3. password authentication disabled

What it looks like