delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/27/13:18:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?UTF-8?B?UmVuw6kgQmVyYmVy?= <r DOT berber AT computer DOT org>
Subject: Re: 1.7.0-51: Problem using ssh public/private key authentication
Date: Mon, 27 Jul 2009 12:17:51 -0500
Lines: 29
Message-ID: <h4knfv$67e$1@ger.gmane.org>
References: <fffce1910907160320qda98e88v6205ba6797da6fb4 AT mail DOT gmail DOT com> <20090716110318 DOT GL27613 AT calimero DOT vinschen DOT de> <24622601 DOT post AT talk DOT nabble DOT com> <af075b00907230319v52b26371t343d1019d06a2158 AT mail DOT gmail DOT com> <24680138 DOT post AT talk DOT nabble DOT com>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.6.0
In-Reply-To: <24680138.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Michael H. wrote:

[snip]
> The steps to reproduce have been done directly after installing Cygwin
> without any modifications. The logfile /var/log/sshd.log is empty even af=
ter
> the error has been printed on the Linux machine from which I connected to
> the Windows / Cygwin machine.

The "system log" the manual refers to is not the one you are looking at,
its /var/log/messages and is only active if you installed and use syslog
(I prefer syslog-ng).

> I executed the commands
>=20
> $ cygrunsrv -E sshd
> $ /usr/sbin/sshd -ddde

And there you are creating the problem... or another problem: the
service runs as a special user, when you run it yourself its running as
your user so, if it works, that means you have permissions set to run as
your user not the service user.  Did that made sense? or I managed to
make something simple into some obscure fact.

The usual fix for what I described is to run the service installation
again, it should complain about the permissions so you can fix them.
--=20
Ren=C3=A9 Berber


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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