From: Michael Tremer Date: Thu, 9 Aug 2018 15:28:14 +0000 (+0100) Subject: openssh: Disable password authentication by default X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ebbca90d70765fac6a42d8ebcc8ec98c1c38f434;p=people%2Fms%2Fipfire-2.x.git openssh: Disable password authentication by default Signed-off-by: Michael Tremer --- 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 .*$$//' \