diff options
author | abs <abs> | 2000-08-28 08:52:59 +0000 |
---|---|---|
committer | abs <abs> | 2000-08-28 08:52:59 +0000 |
commit | 0348d814a82c3735ca5747a2ea1e9ace77a8c2c7 (patch) | |
tree | fb0b3a802f4064e72258ab74f992378de48c1570 /security/ssh | |
parent | 935d75a94bfef836888abccbe2b03bdec0c9621d (diff) | |
download | pkgsrc-0348d814a82c3735ca5747a2ea1e9ace77a8c2c7.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.sh | 7 |
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}." |