From eaf257ffd6cda6249f0202167fa0bf8f08d1dd7b Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 6 Dec 2022 17:21:07 +0100 Subject: [PATCH] a bit more sshd security --- basics.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/basics.yml b/basics.yml index 1259038..b4ff621 100644 --- a/basics.yml +++ b/basics.yml @@ -193,7 +193,9 @@ block: | Port 22 Port 33 - PermitRootLogin without-password + PermitRootLogin prohibit-password + PermitUserRC no + PermitUserEnvironment no PubkeyAuthentication yes X11Forwarding no AllowAgentForwarding no