Re: Sshd and key based authentication

2013-11-26 Thread Larry Hall (Cygwin)
On 11/26/2013 12:12 PM, Andrea Venturoli wrote: On 11/20/13 22:47, Andrey Repin wrote: 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 "^(#|$)"

Re: Sshd and key based authentication

2013-11-26 Thread Andrea Venturoli
On 11/20/13 22:47, Andrey Repin wrote: 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 ? Hello. I tracked this

Re: Sshd and key based authentication

2013-11-20 Thread Larry Hall (Cygwin)
On 11/20/2013 12:37 PM, Andrea Venturoli wrote: 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? Hell

Re: Sshd and key based authentication

2013-11-20 Thread Andrey Repin
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: st

Re: Sshd and key based authentication

2013-11-20 Thread Andrea Venturoli
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/b

Re: Sshd and key based authentication

2013-11-18 Thread Larry Hall (Cygwin)
On 11/18/2013 2:58 AM, Andrea Venturoli wrote: Hello. I'm trying to set up sshd on a Windows 2003 domain controller. Everything works with password authentication; however I need this for a script, so, in order to get non-interactive login, I must use keys. Tried as hard as I could, but I could

Re: Sshd and key based authentication

2013-11-18 Thread Andrea Venturoli
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? bye & Thanks av. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Sshd and key based authentication

2013-11-18 Thread Andrey Repin
Greetings, Andrea Venturoli! > I'm trying to set up sshd on a Windows 2003 domain controller. > Everything works with password authentication; however I need this for a > script, so, in order to get non-interactive login, I must use keys. > Tried as hard as I could, but I could not achieve this: