openssh: disable KbdInteractiveAuthentication.

The name of this flag changed in OpenSSH 8.7.
This commit is contained in:
Leah Neukirchen 2022-01-13 23:01:38 +01:00
parent 2d3c88a8e7
commit d4022006e9

View file

@ -1,7 +1,7 @@
# Template file for 'openssh'
pkgname=openssh
version=8.8p1
revision=1
revision=2
build_style=gnu-configure
configure_args="--datadir=/usr/share/openssh
--sysconfdir=/etc/ssh --without-selinux --with-privsep-user=nobody
@ -66,7 +66,7 @@ post_install() {
# configure to use PAM
vsed -i ${DESTDIR}/etc/ssh/sshd_config \
-e 's|^#\(UsePAM\) no|\1 yes|g' \
-e 's|^#\(ChallengeResponseAuthentication\) yes|\1 no|g' \
-e 's|^#\(KbdInteractiveAuthentication\) yes|\1 no|g' \
-e 's|^#\(PrintMotd\) yes|\1 no|g'
vinstall ${FILESDIR}/sshd.pam 644 etc/pam.d sshd