mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 00:02:55 +02:00
SSH: Replace old RSA keys with a new set
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -47,6 +47,9 @@ sed -i /etc/ssh/sshd_config \
|
||||
|
||||
# Move away old and unsupported keys
|
||||
mv -f /etc/ssh/ssh_host_dsa_key{,.old}
|
||||
# Regenerating weak RSA keys
|
||||
mv -f /etc/ssh/ssh_host_key{,.old}
|
||||
mv -f /etc/ssh/ssh_host_rsa_key{,.old}
|
||||
|
||||
# Start services
|
||||
/etc/init.d/dnsmasq start
|
||||
|
||||
Reference in New Issue
Block a user