Remove the ability to generate long since useless SSH1 RSA keys.
This commit is contained in:
parent
1764b74809
commit
9d0ade3630
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user