diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-02-09 17:37:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-02-09 17:37:35 +0000 |
commit | 3444dcf946b355385f62082fb180bc02fae69124 (patch) | |
tree | c85c80c7271085999a5e4634efa6f9267d6ba5d2 /etc/rc | |
parent | dec5737d95cb94e97d65605f98a70fe5f3cbc58d (diff) |
move ssh config files to /etc/ssh
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.188 2002/01/08 12:04:43 tholo Exp $ +# $OpenBSD: rc,v 1.189 2002/02/09 17:37:34 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -382,25 +382,25 @@ if [ -f /sbin/ldconfig ]; then ldconfig $shlib_dirs fi -if [ ! -f /etc/ssh_host_dsa_key ]; then +if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then echo -n "ssh-keygen: generating new DSA host key... " - if /usr/bin/ssh-keygen -q -t dsa -f /etc/ssh_host_dsa_key -N ''; then + if /usr/bin/ssh-keygen -q -t dsa -f /etc/ssh/ssh_host_dsa_key -N ''; then echo done. else echo failed. fi fi -if [ ! -f /etc/ssh_host_rsa_key ]; then +if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then echo -n "ssh-keygen: generating new RSA host key... " - if /usr/bin/ssh-keygen -q -t rsa -f /etc/ssh_host_rsa_key -N ''; then + if /usr/bin/ssh-keygen -q -t rsa -f /etc/ssh/ssh_host_rsa_key -N ''; then echo done. else echo failed. fi fi -if [ ! -f /etc/ssh_host_key ]; then +if [ ! -f /etc/ssh/ssh_host_key ]; then echo -n "ssh-keygen: generating new RSA1 host key... " - if /usr/bin/ssh-keygen -q -t rsa1 -f /etc/ssh_host_key -N ''; then + if /usr/bin/ssh-keygen -q -t rsa1 -f /etc/ssh/ssh_host_key -N ''; then echo done. else echo failed. |