mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
core190: Load SSH RSA key on legacy systems
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -104,6 +104,14 @@ ldconfig
|
||||
# Filesytem cleanup
|
||||
/usr/local/bin/filesystem-cleanup
|
||||
|
||||
# Load the RSA key on systems that still have one
|
||||
if [ -e "/etc/ssh/ssh_host_rsa_key" ]; then
|
||||
(
|
||||
echo "# Load the legacy RSA key - Deprecated in Core Update 190"
|
||||
echo "HostKey /etc/ssh/ssh_host_rsa_key"
|
||||
) > /etc/ssh/sshd_config.d/rsa.conf
|
||||
fi
|
||||
|
||||
# Apply local configuration to sshd_config
|
||||
/usr/local/bin/sshctrl
|
||||
|
||||
|
||||
Reference in New Issue
Block a user