X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-5.9 required=5.0	tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <4F838B78.8090704@gmail.com>
Date: Tue, 10 Apr 2012 11:23:04 +1000
From: Rurik Christiansen <rurikc@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: Andrey Repin <cygwin@cygwin.com>
Subject: Re: sshd not doing key based authentication
References: <4F7C0884.2080006@gmail.com> <74924010.20120404152639@mtu-net.ru> <20120404133001.GA8876@pris.crapsteak.org> <4F7D2BBA.1080004@gmail.com> <612505306.20120406024449@mtu-net.ru>
In-Reply-To: <612505306.20120406024449@mtu-net.ru>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
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 6/04/2012 08:44, Andrey Repin wrote:
> Greetings, Rurik Christiansen!

[...]

>> and my understanding is that I can't run the sshd frontend without
>> screwing the permissions.
> I don't understand what you mean by this.

From an earlier mail on this list:

http://cygwin.com/ml/cygwin/2008-11/msg00212.html

I cite:

"Ugh!  This suggests that you have not read OpenSSH readme in
/usr/share/doc/Cygwin.  You can't do this without screwing up all
the permissions on various directories and files that SSH checks
the permissions of."



>> (the client sends the publickey packet and then jumps to next auth method)
> This looks exactly like wrong permissions on authorized_keys file, or
> absence of it for particular user.

"Palm slap over forehead" :) ... Yes that was it.

> Also, please don't top-post.

Sorry, sometimes I forget to switch contexts :)

All the best and thanks

-- 
Nihil verus. Omnia possibilis.


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

