]> git.proxmox.com Git - dab.git/commitdiff
ssh_gen_host_keys: generate ecdsa keys
authorDietmar Maurer <dietmar@proxmox.com>
Mon, 22 Jul 2013 04:31:14 +0000 (06:31 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 22 Jul 2013 04:31:14 +0000 (06:31 +0200)
scripts/ssh_gen_host_keys

index ed32fe7b48f771177f501c1bf323f23a0bdc5549..c8543d90db4299af25ee6594ad7a29b823b65816 100755 (executable)
@@ -26,6 +26,9 @@ ssh-keygen -q -f /etc/ssh/ssh_host_rsa_key -t rsa -N ''
 rm -f /etc/ssh/ssh_host_dsa_key
 ssh-keygen -q -f /etc/ssh/ssh_host_dsa_key -t dsa -N ''
 
+rm -f /etc/ssh/ssh_host_ecdsa_key
+ssh-keygen -q -f /etc/ssh/ssh_host_ecdsa_key -t ecdsa -N ''
+
 if [ -x /sbin/insserv ] ; then
     /sbin/insserv -r ssh_gen_host_keys
     rm -f /etc/init.d/ssh_gen_host_keys