From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20340 invoked by alias); 20 Nov 2013 17:37:47 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 20321 invoked by uid 89); 20 Nov 2013 17:37:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: cp-out7.libero.it Received: from Unknown (HELO cp-out7.libero.it) (151.1.108.64) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Nov 2013 17:37:45 +0000 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0C0202.528CF358.0236,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Received: from soth.ventu (151.41.246.185) by cp-out7.libero.it (8.5.133) id 5203AF3911D2E2A0 for cygwin@cygwin.com; Wed, 20 Nov 2013 18:37:28 +0100 Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.7/8.14.7) with ESMTP id rAKHbRJm040239 for ; Wed, 20 Nov 2013 18:37:27 +0100 (CET) (envelope-from ml@netfence.it) Message-ID: <528CF357.3020000@netfence.it> Date: Wed, 20 Nov 2013 17:37:00 -0000 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: Sshd and key based authentication References: <5289C8BD.1010109@netfence.it> <1679047089.20131118122233@mtu-net.ru> <5289DB39.7030408@netfence.it> In-Reply-To: <5289DB39.7030408@netfence.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00360.txt.bz2 On 11/18/13 10:17, Andrea Venturoli wrote: > On 11/18/13 09:22, Andrey Repin wrote: > >> Did you installed Cygwin LSA module? >> http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd2 > > I don't think so, but I can't check right now... > > Should I? Hello. Today I followed your instruction, ran /usr/bin/cyglsa-config and rebooted: still no luck. I raised the loglevel to DEBUG3 and verified sshd was *always* looking for /home/cyg_server/.ssh/authorized_keys, regardless of the user trying to log in. So, if I do "ln -s /home/user /home/cyg_server", then ssh user@server works without password prompt!!! Of course I know the security implications of this... Any further hint appreciated. bye & Thanks av. -- 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