X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B338EF3.4040102@cygwin.com>
Date: Thu, 24 Dec 2009 10:55:31 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: 1.7.0-51: Problem using ssh public/private key authentication
References: <fffce1910907160320qda98e88v6205ba6797da6fb4@mail.gmail.com> <20090716110318.GL27613@calimero.vinschen.de> <24622601.post@talk.nabble.com> <af075b00907230319v52b26371t343d1019d06a2158@mail.gmail.com> <24680138.post@talk.nabble.com> <h4knfv$67e$1@ger.gmane.org> <26913629.post@talk.nabble.com>
In-Reply-To: <26913629.post@talk.nabble.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 12/24/2009 07:55 AM, THW Mark wrote:
>
>
> René Berber-2 wrote:
>>
>> Michael H. wrote:
>>
>>> $ 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.
>>
>
> I can confirm that running sshd as a local user indeed works. (for a one
> time connection). So, the solution must be with access rights to one or more
> files. Suggestions are very welcome here..

In order to get this working, you'll need to undo what you have done.  You can
either:

   1. Audit ssh-host-config and ssh-user-config to reset all the permissions 
and
      state back to the default.

   2. Remove Cygwin and reinstall, running ssh-host-config and ssh-user-config
      once "openssh" has been installed and after reading /usr/share/doc/Cygwin/
      openssh*.  If that doesn't work, then before fiddling, read and follow 
the
      problem reporting guidelines found at the link below to report the issue
      here.  Then someone here may be able to help you track down the
      problem.

      <http://cygwin.com/problems.html>

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

