From 562b02ad8093f2c3687608c9a73587d758c41c0a Mon Sep 17 00:00:00 2001 From: The Fox in the Shell Date: Fri, 19 Feb 2016 12:01:05 +0100 Subject: [PATCH] ssh: Permit root login by pubkey only This is useful in the context of hashbang/admin-tools#12 as it gives admins access to the root account in case of emergency. --- ssh/sshd_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/sshd_config b/ssh/sshd_config index 19e40c5..f579649 100644 --- a/ssh/sshd_config +++ b/ssh/sshd_config @@ -24,7 +24,7 @@ LogLevel INFO # Authentication: LoginGraceTime 120 -PermitRootLogin no +PermitRootLogin without-password StrictModes yes RSAAuthentication yes