openssh: Remove deprecated configuration options

This was used for SSH version 1 which is not supported
any more

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-04-04 19:08:34 +01:00
parent ba2247a4b2
commit be3d3959d2
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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/' \