summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/network.subr4
-rw-r--r--etc/rc.d/netoptions4
-rw-r--r--etc/rc.d/network14
-rw-r--r--etc/rc.d/network24
-rw-r--r--etc/rc.d/network34
-rw-r--r--etc/rc.d/routing4
-rw-r--r--etc/rc.network4
7 files changed, 14 insertions, 14 deletions
diff --git a/etc/network.subr b/etc/network.subr
index fbe8bf3..26e3df0 100644
--- a/etc/network.subr
+++ b/etc/network.subr
@@ -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';
diff --git a/etc/rc.d/netoptions b/etc/rc.d/netoptions
index fbe8bf3..26e3df0 100644
--- a/etc/rc.d/netoptions
+++ b/etc/rc.d/netoptions
@@ -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';
diff --git a/etc/rc.d/network1 b/etc/rc.d/network1
index fbe8bf3..26e3df0 100644
--- a/etc/rc.d/network1
+++ b/etc/rc.d/network1
@@ -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';
diff --git a/etc/rc.d/network2 b/etc/rc.d/network2
index fbe8bf3..26e3df0 100644
--- a/etc/rc.d/network2
+++ b/etc/rc.d/network2
@@ -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';
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index fbe8bf3..26e3df0 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -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';
diff --git a/etc/rc.d/routing b/etc/rc.d/routing
index fbe8bf3..26e3df0 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';
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