Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: sshd through sysV init Date: Tue, 1 Apr 2003 20:16:09 +0200 Lines: 30 Message-ID: <1o50rw2j39n8f$.dlg@thorstenkampe.de> References: <3500515B75D9D311948800508BA37955014BD9EF AT EX-LONDON> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: 40tude_Dialog/2.0.3.1 * 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/