From f8b5269ca3d75b1036c3b581dfc9e27d09cc5702 Mon Sep 17 00:00:00 2001 From: Victor LABORIE Date: Fri, 21 Jul 2017 15:54:38 +0200 Subject: [PATCH] Allow only SSH key in default sshd_config --- tpl/sshd_config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/sshd_config b/tpl/sshd_config index 500b784..6efe0c7 100644 --- a/tpl/sshd_config +++ b/tpl/sshd_config @@ -10,7 +10,7 @@ ServerKeyBits 768 SyslogFacility AUTH LogLevel INFO LoginGraceTime 120 -PermitRootLogin yes +PermitRootLogin without-password StrictModes yes RSAAuthentication yes PubkeyAuthentication yes