summaryrefslogtreecommitdiff
path: root/security/ssh
diff options
context:
space:
mode:
authorabs <abs>2000-08-28 08:52:59 +0000
committerabs <abs>2000-08-28 08:52:59 +0000
commit2d276b41234ec65444cf583f9a042c2b0db114f4 (patch)
treefb0b3a802f4064e72258ab74f992378de48c1570 /security/ssh
parentcc652040e3ad18b512a0231733fc76b861d923e0 (diff)
downloadpkgsrc-2d276b41234ec65444cf583f9a042c2b0db114f4.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/ssh')
-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}."