mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 11:13:24 +02:00
Do not create any DSA keys any more
DSA is considered weak cryptography Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
etc/system-release
|
||||
etc/issue
|
||||
etc/rc.d/init.d/sshd
|
||||
var/ipfire/langs
|
||||
|
||||
@@ -45,6 +45,9 @@ extract_files
|
||||
sed -i /etc/ssh/sshd_config \
|
||||
-e 's/^#\?PermitRootLogin .*$$/PermitRootLogin yes/'
|
||||
|
||||
# Move away old and unsupported keys
|
||||
mv -f /etc/ssh/ssh_host_dsa_key{,.old}
|
||||
|
||||
# Start services
|
||||
/etc/init.d/dnsmasq start
|
||||
/etc/init.d/sshd start
|
||||
|
||||
Reference in New Issue
Block a user