Community maintained Docker config for the knot server

Fix keygen command to use the algorithm indicated by filename

authored by sullen.net and committed by tangled.org 14b15f12 c0816c02

+2 -2
+2 -2
rootfs/etc/s6-overlay/scripts/create-sshd-host-keys
··· 12 12 13 13 foreground { 14 14 if -n { test -f /etc/ssh/keys/ssh_host_ecdsa_key } 15 - ssh-keygen -t rsa -f /etc/ssh/keys/ssh_host_ecdsa_key -q -N "" 15 + ssh-keygen -t ecdsa -f /etc/ssh/keys/ssh_host_ecdsa_key -q -N "" 16 16 } 17 17 18 18 foreground { 19 19 if -n { test -f /etc/ssh/keys/ssh_host_ed25519_key } 20 - ssh-keygen -t rsa -f /etc/ssh/keys/ssh_host_ed25519_key -q -N "" 20 + ssh-keygen -t ed25519 -f /etc/ssh/keys/ssh_host_ed25519_key -q -N "" 21 21 }