mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
openssh: Disable password authentication by default
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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 .*$$//' \
|
||||
|
||||
Reference in New Issue
Block a user