delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/10/15:53:04

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
Message-ID: <00b501c27092$e9746250$391e10ac@dietpepsi>
From: "David Monk" <david AT purplebear DOT net>
To: "Harig, Mark A." <maharig AT idirect DOT net>, "Len Giambrone" <frodo AT mit DOT edu>
Cc: <cygwin AT cygwin DOT com>
References: <BADF3C947A1BD54FBA75C70C241B0B9E10AAF3 AT ex02 DOT idirect DOT net>
Subject: Re: sshd problems (fixed)
Date: Thu, 10 Oct 2002 14:26:18 -0500
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Thanks to all for all the suggestions. I tried with the stdout and stderr
flags set to /var/log/sshd.log, but I still got nothing in the log.
I finally figured this out. Or, I at least figured a workaround.
My HKEY_CURRENT_USER had the default mount points defined.
HKEY_LOCAL_MACHINE, however, did not. I added them there, just copied the
values basically, removed all my sshd configurations, /etc/ssh*, /var/emtpy,
and removed the service. Then I reran ssh-host-config, and sshd started.
ssh-host-config did get the directory perm wrong on /var/emtpy. It was set
to 0777, when 0755 is what works.

Anyway, I can only guess that this happened because I installed cygwin only
for myself originally and when I did a complete rework. The only thing I
can't figure out is why the service has ever worked. I installed pretty much
the same way originally, so with sshd running as LocalSystem, and the mount
points not defined in HKLM, how did it know where to find the keys?

Perhaps the setup should add the needed registry entries to HKLM as well as
HKCU if it can, even if the user says it's "Just for myself".

David



--
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