delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/04/09/21:21:05

X-Recipient: archive-cygwin AT delorie DOT 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 AT gmail DOT 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 AT cygwin DOT com>
Subject: Re: sshd not doing key based authentication
References: <4F7C0884 DOT 2080006 AT gmail DOT com> <74924010 DOT 20120404152639 AT mtu-net DOT ru> <20120404133001 DOT GA8876 AT pris DOT crapsteak DOT org> <4F7D2BBA DOT 1080004 AT gmail DOT com> <612505306 DOT 20120406024449 AT mtu-net DOT ru>
In-Reply-To: <612505306.20120406024449@mtu-net.ru>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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


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

- Raw text -


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