aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/routing
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2001-05-09 07:46:44 +0000
committerPeter Wemm <peter@FreeBSD.org>2001-05-09 07:46:44 +0000
commitb7c90f028d5f80dace468aa29c5dd3768f021042 (patch)
treeb406e250e82e001c1ce8ab52e551326ecafa9b10 /etc/rc.d/routing
parenteeb2177a2873ae2fdd9929e81c0b2bb8c3e3056e (diff)
downloadsrc-b7c90f028d5f80dace468aa29c5dd3768f021042.tar.gz
src-b7c90f028d5f80dace468aa29c5dd3768f021042.zip
s/ssh_host_key/ssh_host_rsa_key/ since that is what openssh uses now
after a mergemaster.
Notes
Notes: svn path=/head/; revision=76400
Diffstat (limited to 'etc/rc.d/routing')
-rw-r--r--etc/rc.d/routing4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index fbe8bf3692e9..26e3df09b873 100644
--- a/etc/rc.d/routing
+++ b/etc/rc.d/routing
@@ -720,9 +720,9 @@ network_pass3() {
case ${sshd_enable} in
[Yy][Ee][Ss])
- if [ ! -f /etc/ssh/ssh_host_key ]; then
+ if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then
echo ' creating ssh RSA host key';
- /usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_key
+ /usr/bin/ssh-keygen -N "" -f /etc/ssh/ssh_host_rsa_key
fi
if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then
echo ' creating ssh DSA host key';