This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Sshd and key based authentication
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Andrea Venturoli <ml at netfence dot it>, cygwin at cygwin dot com
- Date: Thu, 21 Nov 2013 01:47:36 +0400
- Subject: Re: Sshd and key based authentication
- Authentication-results: sourceware.org; auth=none
- References: <5289C8BD dot 1010109 at netfence dot it> <1679047089 dot 20131118122233 at mtu-net dot ru> <5289DB39 dot 7030408 at netfence dot it> <528CF357 dot 3020000 at netfence dot it>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
Greetings, Andrea Venturoli!
>>> 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.
Erm, that strange.
Can we see a
egrep -iv "^(#|$)" /etc/ssh/sshd_config
?
Do Cygwin know about your domain users?
And what command you use to connect to the server?
> 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...
That's indeed not the best idea...
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 21.11.2013, <01:43>
Sorry for my terrible english...
--
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