From a353629074573ab87b8e4920563952a8f9e81910 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Tue, 27 Sep 2022 16:48:00 +0200
Subject: [PATCH] [UPD] Replace outdated ChallengeResponseAuthentication by
 KbdInteractiveAuthentication

---
 templates/sshd_config.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/sshd_config.j2 b/templates/sshd_config.j2
index e491820..6378111 100644
--- a/templates/sshd_config.j2
+++ b/templates/sshd_config.j2
@@ -2,9 +2,9 @@ AcceptEnv LANG LC_*
 AllowAgentForwarding no
 AllowTcpForwarding no
 AuthenticationMethods publickey
-ChallengeResponseAuthentication no
 Ciphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr
 HostKey /etc/ssh/ssh_host_ed25519_key
+KbdInteractiveAuthentication no
 KexAlgorithms curve25519-sha256@libssh.org,ecdh-sha2-nistp521,ecdh-sha2-nistp384,ecdh-sha2-nistp256
 LogLevel VERBOSE
 MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,umac-128@openssh.com
-- 
GitLab