[Midnightbsd-cvs] src [9841] stable/0.8/etc/rc.d/sshd: drop rsa1 from sshd, not safe
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun May 13 19:23:31 EDT 2018
Revision: 9841
http://svnweb.midnightbsd.org/src/?rev=9841
Author: laffer1
Date: 2018-05-13 19:23:30 -0400 (Sun, 13 May 2018)
Log Message:
-----------
drop rsa1 from sshd, not safe
Modified Paths:
--------------
stable/0.8/etc/rc.d/sshd
Modified: stable/0.8/etc/rc.d/sshd
===================================================================
--- stable/0.8/etc/rc.d/sshd 2018-05-13 22:02:26 UTC (rev 9840)
+++ stable/0.8/etc/rc.d/sshd 2018-05-13 23:23:30 UTC (rev 9841)
@@ -20,7 +20,6 @@
pidfile="/var/run/${name}.pid"
extra_commands="configtest keygen reload"
-: ${sshd_rsa1_enable:="yes"}
: ${sshd_rsa_enable:="yes"}
: ${sshd_dsa_enable:="yes"}
: ${sshd_ecdsa_enable:="yes"}
@@ -37,9 +36,6 @@
fi
case $alg in
- rsa1)
- keyfile="/etc/ssh/ssh_host_key"
- ;;
rsa|dsa|ecdsa|ed25519)
keyfile="/etc/ssh/ssh_host_${alg}_key"
;;
@@ -64,7 +60,6 @@
sshd_keygen()
{
- sshd_keygen_alg rsa1
sshd_keygen_alg rsa
sshd_keygen_alg dsa
sshd_keygen_alg ecdsa
More information about the Midnightbsd-cvs
mailing list