From ebbca90d70765fac6a42d8ebcc8ec98c1c38f434 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Thu, 9 Aug 2018 16:28:14 +0100 Subject: [PATCH] openssh: Disable password authentication by default Signed-off-by: Michael Tremer --- lfs/openssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfs/openssh b/lfs/openssh index 9d551f1988..a88b2d1261 100644 --- a/lfs/openssh +++ b/lfs/openssh @@ -86,7 +86,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) -e 's/^#\?Protocol .*$$/Protocol 2/' \ -e 's/^#\?LoginGraceTime .*$$/LoginGraceTime 30s/' \ -e 's/^#\?PubkeyAuthentication .*$$/PubkeyAuthentication yes/' \ - -e 's/^#\?PasswordAuthentication .*$$/PasswordAuthentication yes/' \ + -e 's/^#\?PasswordAuthentication .*$$/PasswordAuthentication no/' \ -e 's/^#\?MaxStartups .*$$/MaxStartups 5/' \ -e 's/^#\?IgnoreUserKnownHosts .*$$/IgnoreUserKnownHosts yes/' \ -e 's/^#\?UsePAM .*$$//' \ -- 2.39.2