sshd through sysV init

Thorsten Kampe thorsten@thorstenkampe.de
Tue Apr 1 18:23:00 GMT 2003


* Vince Hoffman (03-04-01 19:26 +0100)
> Hi all,
> 	I'm having some problems trying to use sshd from init. 
> I installed openssh, init, initscripts and chkconfig, ran init-config
> answering no to overwriting the initscripts files. 
> next i ran ssh-host-config answering yes to all except install as service. 
> finaly i ran "/usr/sbin/chkconfig sshd on" (quotes just there to emphasize)

Says "to activate sshd script execute "/sbin/chkconfig --add sshd" in 
the readme.

> and started the init service.
> init started fine, event log says its in run level 3, chkconfig says that
> sshd is on in runlevel 3 but no sshd process is running, I tried adding a
> line containing OPTIONS=-ddd to /etc/rc.d/init.d/sshd to get some logging
> going but no luck (my shell scriptings pretty bad so no big supprise if i
> interperated that wrong.)  
> and clues appreciated.

Run sshd in Daemon mode (-D) and see if it starts. Check the Event log 
and /var/log/sshd.log.

Just curious: why do you want to use init - you're sure you don't mean 
"inetd"?

Thorsten
-- 
 Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
 Content-Transfer-Warning: message contains innuendos not suited for
 children under the age of 18


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list