mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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/' \
|
||||
|
||||
Reference in New Issue
Block a user