s/ssh_host_key/ssh_host_rsa_key/ since that is what openssh uses now
after a mergemaster.
This commit is contained in:
parent
37eb03622e
commit
8b207d03b6
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user