]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/initscripts/init.d/sshd
Add ssh ecdsa hostkey.
[people/pmueller/ipfire-2.x.git] / src / initscripts / init.d / sshd
index 1bd23460a89cff6de8d8e30576bf80d25cc0deba..e99e6940562f310c20fd79a1e1ec86a167bda768 100644 (file)
@@ -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