Author: des
Date: Sat May 12 08:23:17 2018
New Revision: 333520
URL: https://svnweb.freebsd.org/changeset/base/333520

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

Modified:
  head/etc/rc.d/sshd

Modified: head/etc/rc.d/sshd
==============================================================================
--- head/etc/rc.d/sshd  Sat May 12 06:23:30 2018        (r333519)
+++ head/etc/rc.d/sshd  Sat May 12 08:23:17 2018        (r333520)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to