Remove the ability to generate long since useless SSH1 RSA keys.

This commit is contained in:
Dag-Erling Smørgrav 2018-05-12 08:23:17 +00:00
parent 1764b74809
commit 9d0ade3630

View File

@ -21,7 +21,6 @@ configtest_cmd="sshd_configtest"
pidfile="/var/run/${name}.pid"
extra_commands="configtest keygen reload"
: ${sshd_rsa1_enable:="no"}
: ${sshd_rsa_enable:="yes"}
: ${sshd_dsa_enable:="no"}
: ${sshd_ecdsa_enable:="yes"}
@ -38,9 +37,6 @@ sshd_keygen_alg()
fi
case $alg in
rsa1)
keyfile="/etc/ssh/ssh_host_key"
;;
rsa|dsa|ecdsa|ed25519)
keyfile="/etc/ssh/ssh_host_${alg}_key"
;;
@ -65,7 +61,6 @@ sshd_keygen_alg()
sshd_keygen()
{
sshd_keygen_alg rsa1
sshd_keygen_alg rsa
sshd_keygen_alg dsa
sshd_keygen_alg ecdsa