Tag Info

New answers tagged

1

You should be rate-limiting your restarts in the ./finish file for that service, which is run upon abnormal termination. The ./finish script will receive the return code from ./run and from there you can determine what to do, etc. For that matter, you should have your ./finish script screaming loudly about the failures and sending notifications and jumping ...


0

The output in your first example is actually from the init script. Check /etc/init.d/sshd if you want to see the full context of what is happening there. If you're trying to replicate this in a docker container, you will need to replicate. The important commands are: $KEYGEN -q -t rsa -f $RSA_KEY -C '' -N '' $KEYGEN -q -t dsa -f $DSA_KEY -C '' -N '' ...


1

I suspect that you are trying to start the sshd application with a non-root user. The permissions of the host key file only allow root to read them. 4 -rw-r--r--. 1 root root 2047 Nov 6 09:07 ssh_config 4 -rw-------. 1 root root 3879 Nov 6 09:07 sshd_config 4 -rw-------. 1 root root 672 Jun 23 13:32 ssh_host_dsa_key 4 -rw-------. 1 root ...



Top 50 recent answers are included