summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-05-09 07:46:44 +0000
committerpeter <peter@FreeBSD.org>2001-05-09 07:46:44 +0000
commit8b207d03b65418a080247bd71f8f9660a354ace2 (patch)
tree08a5dfc76f4f01e8f537648d795f49e5eef301d1 /etc/rc.network
parent37eb03622e1fc5e82f58592c86cc888924ec06e1 (diff)
downloadFreeBSD-src-8b207d03b65418a080247bd71f8f9660a354ace2.zip
FreeBSD-src-8b207d03b65418a080247bd71f8f9660a354ace2.tar.gz
s/ssh_host_key/ssh_host_rsa_key/ since that is what openssh uses now
after a mergemaster.
Diffstat (limited to 'etc/rc.network')
-rw-r--r--etc/rc.network4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.network b/etc/rc.network
index fbe8bf3..26e3df0 100644
--- a/etc/rc.network
+++ b/etc/rc.network
@@ -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';
OpenPOWER on IntegriCloud