From: deraadt Date: Thu, 27 Apr 2000 07:06:36 +0000 (+0000) Subject: ssh_host_dsa_key not ssh_dsa_host_key X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=40fc3939bb356eb986a45ab81704f2305c15fb2d;p=openbsd ssh_host_dsa_key not ssh_dsa_host_key --- 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.