Sshd and key based authentication

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Nov 26 20:25:00 GMT 2013


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



More information about the Cygwin mailing list