Sshd and key based authentication

Andrea Venturoli ml@netfence.it
Wed Nov 20 17:37:00 GMT 2013


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



More information about the Cygwin mailing list