diff options
Diffstat (limited to 'etc/rc.network')
-rw-r--r-- | etc/rc.network | 4 |
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'; |