This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Sshd and key based authentication


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 "^(#|$)" /etc/ssh/sshd_config

?

Hello.

I tracked this down to
 > AuthorizedKeysFile     ~/.ssh/authorized_keys
in /etc/sshd_config.

I don't remember if this came from the default or one of my tests which I
forgot to remove.

The latter it seems.  The default is .ssh/authorized_keys.


--
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]