Revert r321659, re-enabling ChallengeResponseAuthentication, which was

discussed a while back between cperciva@ and so@, and I forgot.

Reported by:	cperciva
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2017-07-28 18:46:02 +00:00
parent 5941ae31e0
commit b200285a05
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321661

View File

@ -81,12 +81,6 @@ vm_extra_pre_umount() {
# Load the kernel module for the Amazon "Elastic Network Adapter"
echo 'if_ena_load="YES"' >> ${DESTDIR}/boot/loader.conf
# Disable ChallengeResponseAuthentication according to EC2
# requirements.
sed -i '' -e \
's/^#ChallengeResponseAuthentication yes/ChallengeResponseAuthentication no/' \
${DESTDIR}/etc/ssh/sshd_config
# The first time the AMI boots, the installed "first boot" scripts
# should be allowed to run:
# * ec2_configinit (download and process EC2 user-data)