mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
release: Remove references to ChallengeResponseAuthentication
This sshd_config keyword was replaced by KbdInteractiveAuthentication in
openssh 8.7, though ChallengeResponseAuthentication is silently accepted
as an alias. However, this means that the code in ec2.conf which
modifies a commented-out line no longer does anything. Apply a minimal
fix.
Reviewed by: cperciva, emaste
Sponsored by: The FreeBSD Foundation
(cherry picked from commit c1b656ac55)
This commit is contained in:
parent
9eed130b29
commit
fd7db6dedd
2 changed files with 3 additions and 4 deletions
|
|
@ -120,10 +120,9 @@ EOF
|
|||
# historical "nvd" driver.
|
||||
echo 'hw.nvme.use_nvd="0"' >> ${DESTDIR}/boot/loader.conf
|
||||
|
||||
# Disable ChallengeResponseAuthentication according to EC2
|
||||
# requirements.
|
||||
# Disable KbdInteractiveAuthentication according to EC2 requirements.
|
||||
sed -i '' -e \
|
||||
's/^#ChallengeResponseAuthentication yes/ChallengeResponseAuthentication no/' \
|
||||
's/^#KbdInteractiveAuthentication yes/KbdInteractiveAuthentication no/' \
|
||||
${DESTDIR}/etc/ssh/sshd_config
|
||||
|
||||
# Use FreeBSD Update and Portsnap mirrors hosted in AWS
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ EOF
|
|||
EOF
|
||||
|
||||
cat << EOF >> ${DESTDIR}/etc/ssh/sshd_config
|
||||
ChallengeResponseAuthentication no
|
||||
KbdInteractiveAuthentication no
|
||||
X11Forwarding no
|
||||
AcceptEnv LANG
|
||||
AllowAgentForwarding no
|
||||
|
|
|
|||
Loading…
Reference in a new issue