From 7c03c916ed0649bdfdc6fa1d5f999b57184056e0 Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 27 Apr 2000 07:06:36 +0000 Subject: [PATCH] ssh_host_dsa_key not ssh_dsa_host_key --- src/etc/rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/rc b/src/etc/rc index e5d220c3..6e7e4107 100644 --- a/src/etc/rc +++ b/src/etc/rc @@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.133 2000/04/26 22:34:54 deraadt Exp $ +# $OpenBSD: rc,v 1.134 2000/04/27 07:06:36 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -366,9 +366,9 @@ if [ -f /sbin/ldconfig ]; then ldconfig $shlib_dirs fi -if [ ! -f /etc/ssh_dsa_host_key -a -x /usr/bin/ssh-keygen ]; then +if [ ! -f /etc/ssh_host_dsa_key -a -x /usr/bin/ssh-keygen ]; then echo -n "ssh-keygen: generating new DSA host key... " - if /usr/bin/ssh-keygen -q -d -f /etc/ssh_dsa_host_key -N ''; then + if /usr/bin/ssh-keygen -q -d -f /etc/ssh_host_dsa_key -N ''; then echo done. else echo failed.