From f9ca39546561d7a4d1365168eefdc0a0eaa71d34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Mewi=C3=9Fen?= Date: Mon, 10 Feb 2025 23:33:26 +0100 Subject: [PATCH] add option --- roles/base/files/system_setup/sshd_custom.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/base/files/system_setup/sshd_custom.conf b/roles/base/files/system_setup/sshd_custom.conf index 291b505..ce59cf6 100644 --- a/roles/base/files/system_setup/sshd_custom.conf +++ b/roles/base/files/system_setup/sshd_custom.conf @@ -1,3 +1,5 @@ +VerifyHostKeyDNS ask + PermitRootLogin prohibit-password MaxAuthTries 3 @@ -24,4 +26,4 @@ Match User rene PasswordAuthentication no Match Host * - MaxAuthTries 1 \ No newline at end of file + MaxAuthTries 1