This was used for SSH version 1 which is not supported
any more
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
# 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
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/' \