]> git.ipfire.org Git - ipfire-2.x.git/commit
OpenSSH: restrict file permissions for sshd_config to 0600
authorPeter Müller <peter.mueller@ipfire.org>
Sun, 30 May 2021 10:33:31 +0000 (12:33 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 31 May 2021 12:41:13 +0000 (12:41 +0000)
commita9fb87809eccdc7ea7736659ceec929a028761d4
treeb45a20f0832f8424a1ffec56e3115ef59b3df217
parent97c76ea56fff5de5ff40e0435c741f109b12835d
OpenSSH: restrict file permissions for sshd_config to 0600

This file does not have to be readable by anybody else than the user
running an OpenSSH server. While it does not really contain confidential
information, exposing it to the rest of the world makes no sense either.

This will silence a Lynis warning. :-)

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/openssh