summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2000-08-28 08:52:59 +0000
committerabs <abs@pkgsrc.org>2000-08-28 08:52:59 +0000
commit4f0c7fb98ac6a32a04eb7a62ec274ccbb3f7e1aa (patch)
treefb0b3a802f4064e72258ab74f992378de48c1570 /security
parent0c92bee39f7cfc9810ee1649c6baace62e862ad2 (diff)
downloadpkgsrc-4f0c7fb98ac6a32a04eb7a62ec274ccbb3f7e1aa.tar.gz
ssh 1.x ssh-keygen does not have -d for DSA keys - remove section that
tries to crete DSA key if not present and gave error on every startup
Diffstat (limited to 'security')
-rw-r--r--security/ssh/files/sshd.sh7
1 files changed, 2 insertions, 5 deletions
diff --git a/security/ssh/files/sshd.sh b/security/ssh/files/sshd.sh
index da23c72b8bd..cacbcdb885f 100644
--- a/security/ssh/files/sshd.sh
+++ b/security/ssh/files/sshd.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: sshd.sh,v 1.3 2000/07/24 16:44:53 jlam Exp $
+# $NetBSD: sshd.sh,v 1.4 2000/08/28 08:52:59 abs Exp $
#
name="sshd"
@@ -14,10 +14,7 @@ start)
then
@PREFIX@/bin/ssh-keygen -b 1024 -N "" -f /etc/ssh_host_key
fi
- if [ ! -f @SSH_CONF_DIR@/ssh_host_dsa_key ]
- then
- /usr/pkg/bin/ssh-keygen -d -N "" -f /etc/ssh_host_dsa_key
- fi
+ # No DSA key for ssh-1.x
if [ -x @PREFIX@/sbin/sshd -a -f @SSH_CONF_DIR@/sshd_config ]
then
echo "Starting ${name}."