]> git.ipfire.org Git - ipfire-2.x.git/commit
sshd: Do not generate new RSA host key on first boot
authorPeter Müller <peter.mueller@ipfire.org>
Fri, 20 Sep 2024 14:20:18 +0000 (14:20 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 22 Sep 2024 14:42:41 +0000 (14:42 +0000)
commitbc0fdeae6f926f9924018d32fa67cd4795a2acaf
tree9427232c0d96bb83ee448aa17f16b1059c52a748
parentf7d6648e762554df73742a51bfcbb04ad6689f61
sshd: Do not generate new RSA host key on first boot

This patch will also ensure the maximum supported key length
is used for ECDSA. Existing installations will remain unaffected.

Note that the key size for ED25519 is fixed, and explicitly
setting it to 521 bytes will not have any impact.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/system/sshd