+2
-2
rootfs/etc/s6-overlay/scripts/create-sshd-host-keys
+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
}
History
1 round
1 comment
sullen.net
submitted
#0
1 commit
expand
collapse
ca5ce016
Fix keygen command to use the algorithm indicated by filename
expand 1 comment
pull request successfully merged
thanks for this!