From 1091dfeeed8e758e840ce73af746833a0dcb7528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Wed, 11 Oct 2017 22:17:52 +0200 Subject: [PATCH] evolinux-users: Handle "PermitRootLogin prohibit-password" --- evolinux-users/tasks/root_disable_ssh.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evolinux-users/tasks/root_disable_ssh.yml b/evolinux-users/tasks/root_disable_ssh.yml index b9fc5708..7906307f 100644 --- a/evolinux-users/tasks/root_disable_ssh.yml +++ b/evolinux-users/tasks/root_disable_ssh.yml @@ -3,7 +3,7 @@ - name: disable root login replace: dest: /etc/ssh/sshd_config - regexp: '^PermitRootLogin (yes|without-password)' + regexp: '^PermitRootLogin (yes|without-password|prohibit-password)' replace: "PermitRootLogin no" notify: reload sshd