mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-02 00:02:55 +02:00
Add ssh ecdsa hostkey.
This commit is contained in:
@@ -34,6 +34,11 @@ rm -f /var/cache/pakfire/core-upgrade-*.ipfire
|
||||
#Extract files
|
||||
extract_files
|
||||
|
||||
#Generate ssh ecdsa host key if not present
|
||||
if [ ! -e /etc/ssh/ssh_host_ecdsa_key ]; then
|
||||
ssh-keygen -qf /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa
|
||||
fi
|
||||
|
||||
#
|
||||
#Start services
|
||||
|
||||
|
||||
Reference in New Issue
Block a user