The sshd backgrounds itself, so init doesn't wait long before it's clear
to start a new one. Run it from a startup script instead.
I run shell scripts from init. The global startup scripts are Bourne shell
in the UNIXes I know of.
--
Gregor Mosheh
[EMAIL PROTECTED]
Systems Admin, Humboldt Internet
707.825.4638
On Wed, 24 May 2000, Andrew Hall wrote:
> Hello,
>
> This might be slightly off topic but here goes. My issue is with
> openssh and inittab.
>
> Here is the inittab entry:
>
> sh:2:respawn:/usr/sbin/sshd
>
>
> My problem is two fold. First init is telling me "init: Id "sh"
> respawning too fast: disabled for 5 minutes". Why would it be
> respawning too fast. If I start it on the command line I get no
> problems and it starts right off. Secondly every five minutes after the
> disable period init trys to start sshd even though sshd is already
> running!! My two questions I guess are what is causing init to think
> ssh is respawing? and why would init try to start the daemon when it is
> already running? Does this have something to do with why you can't run
> shell scripts out of init?
>
>
> Thankyou.
>
> Andrew Hall
>