|
@ -29,9 +29,9 @@ |
|
|
main_begin |
|
|
main_begin |
|
|
|
|
|
|
|
|
block_begin(start, `Starting sshd.') |
|
|
block_begin(start, `Starting sshd.') |
|
|
if ! test -e D_sysconfdir/ssh/ssh_host_key -o \ |
|
|
|
|
|
-e D_sysconfdir/ssh/ssh_host_dsa_key -o \ |
|
|
|
|
|
-e D_sysconfdir/ssh/ssh_host_rsa_key |
|
|
|
|
|
|
|
|
if ! test -e D_sysconfdir/ssh_host_key -o \ |
|
|
|
|
|
-e D_sysconfdir/ssh_host_dsa_key -o \ |
|
|
|
|
|
-e D_sysconfdir/ssh_host_rsa_key |
|
|
then |
|
|
then |
|
|
echo "Can't start sshd: No ssh host keys found !!"\ |
|
|
echo "Can't start sshd: No ssh host keys found !!"\ |
|
|
"Please create the keys using either ssh-keygen or stone." |
|
|
"Please create the keys using either ssh-keygen or stone." |
|
|