mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-16 22:13:01 +02:00
Add ssh ecdsa hostkey.
This commit is contained in:
@@ -17,6 +17,7 @@ case "$1" in
|
||||
ssh-keygen -qf /etc/ssh/ssh_host_rsa_key -N ''
|
||||
ssh-keygen -qf /etc/ssh/ssh_host_key -N '' -t rsa1
|
||||
ssh-keygen -qf /etc/ssh/ssh_host_dsa_key -N '' -t dsa
|
||||
ssh-keygen -qf /etc/ssh/ssh_host_ecdsa_key -N '' -t ecdsa
|
||||
fi
|
||||
|
||||
[ -e "/var/ipfire/remote/enablessh" ] || exit 0 # SSH is not enabled
|
||||
|
||||
Reference in New Issue
Block a user