X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=xJqmNxDbs70LTA301N5mL6WTT/prbThkO1OriGb4qOs FoezzWm7/DnA1fPKpxXdxQagkJqxuDBxGp98hCFEMFfhKGOxM7hI+Or6JfJ7H/PY 0kwJhust3A85ntHNvVTVqmf3+4TZxlD2cCad+XlliL/FpExWUN1HnPtbYjviBOHU = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=Oz1FdeAdMRmHKfCc4jpuIxAba+c=; b=jmVHYchjwtuGuqPuT O7iqUN7ShwJqahi+K1h3n9H4BqL0LgpX95aCwKh5XOKWuRznpDkQYfPRitQcsZP+ pQks+uQ6FApK77Y5cyXEv55RtoUSGNQxxramr7NlbgCyeuAUImiwABEgfuLWRvEW TkwUX6QrW66TZI8Bvr8odRGIS8= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 X-CTCH-Spam: Unknown X-CTCH-RefID: str=0001.0A0C0202.528CF358.0236,ss=1,re=0.000,fgs=0 X-libjamoibt: 1555 Message-ID: <528CF357.3020000@netfence.it> Date: Wed, 20 Nov 2013 18:37:27 +0100 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 AT cygwin DOT com Subject: Re: Sshd and key based authentication References: <5289C8BD DOT 1010109 AT netfence DOT it> <1679047089 DOT 20131118122233 AT mtu-net DOT ru> <5289DB39 DOT 7030408 AT netfence DOT 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 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 AT 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