From 40fc3939bb356eb986a45ab81704f2305c15fb2d 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 --- etc/rc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/rc b/etc/rc index e5d220c345f..6e7e4107f47 100644 --- a/etc/rc +++ b/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. -- 2.20.1