Subject: ssh v2 with openssh
To: NetBSD tech-pkg mailing list <tech-pkg@netbsd.org>
From: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
List: tech-pkg
Date: 06/02/2000 15:44:27
I notice that if you install Openssh-2.1.0p3, you don't get v2 in sshd by
default as /etc/ssh_host_dsa_key isn't installed. Is this deliberate? If
not, see attached.
Also, sshd doesn't run unless you have :
pseudo-device rnd
in your kernel config. Worth a note?
J
--
My other computer also runs NetBSD
http://www.netbsd.org/
---8<---------------------------- Cut here ---------------------------->8---
--- /usr/pkgsrc/security/openssh/Makefile Thu Jun 1 11:41:15 2000
+++ Makefile Fri Jun 2 15:05:39 2000
@@ -67,6 +67,11 @@
${PREFIX}/bin/ssh-keygen \
-f ${SSH_CONF_DIR}/ssh_host_key -N ""; \
fi
+ if [ ! -f ${SSH_CONF_DIR}/ssh_host_dsa_key ]; then \
+ ${ECHO} "Generating a secret host dsa key..."; \
+ ${PREFIX}/bin/ssh-keygen \
+ -d -f ${SSH_CONF_DIR}/ssh_host_dsa_key -N ""; \
+ fi
${INSTALL_SCRIPT} ${WRKDIR}/sshd.sh ${PREFIX}/etc/rc.d/sshd.sh
.include "../../mk/bsd.pkg.mk"