From 505c85eb116fe7edd786ac96e1a569a4dee6cd25 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Thu, 23 Apr 2020 22:01:45 +0200 Subject: [PATCH] common: Disable root login over ssh --- roles/common/templates/0_main.sshd_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/common/templates/0_main.sshd_config b/roles/common/templates/0_main.sshd_config index 80e19b3..a39754e 100644 --- a/roles/common/templates/0_main.sshd_config +++ b/roles/common/templates/0_main.sshd_config @@ -29,7 +29,7 @@ HostKey /etc/ssh/ssh_host_{{ type }}_key # Authentication: #LoginGraceTime 2m -PermitRootLogin yes +PermitRootLogin no #StrictModes yes MaxAuthTries 6 #MaxSessions 10