December 2018
Beginner
826 pages
22h 54m
English
It's not always obvious which values can be stacked atop one another, and which have to be blanked out first.
To test whether your configuration is being loaded correctly, use systemctl show sshd to read the running configuration of your service.
Within the output, I find the following line (Documentation can stack, so our new entry just gets added to the end.):
Documentation=man:sshd(8) man:sshd_config(5) man:ssh-additional
Description is overwritten, as you can only have one entry, so ours takes precedence:
Description=OpenSSH server daemon slightly modified
There's no EnvironmentFile option, and the only entry is our Environment line:
Environment=OPTIONS="-u0"
There's only one ExecStart line, and it's ours as we blanked ...
Read now
Unlock full access