delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/01/13:47:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <thorsten AT thorstenkampe DOT de>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019