aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 08:23:17 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 08:23:17 +0000
commit9d0ade3630176f7cd6c88b67be623ff458f039c9 (patch)
tree7e23b38726a500e2243b54446e1cac64921c745f /etc/rc.d
parent1764b748094633ff420734ed49461ad07674625b (diff)
downloadsrc-9d0ade3630176f7cd6c88b67be623ff458f039c9.tar.gz
src-9d0ade3630176f7cd6c88b67be623ff458f039c9.zip
Notes
Diffstat (limited to 'etc/rc.d')
-rwxr-xr-xetc/rc.d/sshd5
1 files changed, 0 insertions, 5 deletions
diff --git a/etc/rc.d/sshd b/etc/rc.d/sshd
index de1e64f3aff0..d45963524b3d 100755
--- a/etc/rc.d/sshd
+++ b/etc/rc.d/sshd
@@ -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