From be3d3959d2e7ee03caf40e37993d6a815f8829bf Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 4 Apr 2017 19:08:34 +0100 Subject: [PATCH] openssh: Remove deprecated configuration options This was used for SSH version 1 which is not supported any more Signed-off-by: Michael Tremer --- config/rootfiles/core/110/update.sh | 3 +++ lfs/openssh | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/110/update.sh b/config/rootfiles/core/110/update.sh index 84e0ddf142..2011d4d9d8 100644 --- a/config/rootfiles/core/110/update.sh +++ b/config/rootfiles/core/110/update.sh @@ -44,6 +44,9 @@ ldconfig # Update Language cache /usr/local/bin/update-lang-cache +# Remove deprecated options +sed -e "/^RSAAuthentication/d" -i /etc/ssh/sshd_config + # Start services /etc/init.d/unbound start /etc/init.d/sshd restart diff --git a/lfs/openssh b/lfs/openssh index 005e4dffaf..56ac55a960 100644 --- a/lfs/openssh +++ b/lfs/openssh @@ -80,7 +80,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) sed -i -e 's/^#\?Port .*$$/Port 222/' \ -e 's/^#\?Protocol .*$$/Protocol 2/' \ -e 's/^#\?LoginGraceTime .*$$/LoginGraceTime 30s/' \ - -e 's/^#\?RSAAuthentication .*$$/RSAAuthentication yes/' \ -e 's/^#\?PubkeyAuthentication .*$$/PubkeyAuthentication yes/' \ -e 's/^#\?PasswordAuthentication .*$$/PasswordAuthentication yes/' \ -e 's/^#\?MaxStartups .*$$/MaxStartups 5/' \ -- 2.39.5