From: Jakub Czajka Date: Sun, 25 Sep 2022 17:19:15 +0000 (+0200) Subject: [sshd] Disable root login. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=9b10795b4d1383aff08fa04d1e4962b8c86e0f14;p=server.git [sshd] Disable root login. `PermitRootLogin` is set by default to `yes`. --- diff --git a/sshd/sshd_config b/sshd/sshd_config index f08521d..4b5f40c 100644 --- a/sshd/sshd_config +++ b/sshd/sshd_config @@ -31,7 +31,7 @@ Port 72 # Authentication: #LoginGraceTime 2m -#PermitRootLogin prohibit-password +PermitRootLogin no #StrictModes yes #MaxAuthTries 6 #MaxSessions 10