Date: Sat, 12 May 2018 08:23:17 +0000 (UTC) From: =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333520 - head/etc/rc.d Message-ID: <201805120823.w4C8NHqY012321@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805120823.w4C8NHqY012321>