This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: sshd not doing key based authentication
David and Andrew thanks for your replies.
Yes I didn't provide enough details, David you are right. But ...
I was hoping more for some pointers to what the permissions must be and
then do the troubleshooting myself.
The "unix" side of permissions look ok.
I don't know what the windows side must be or if it matters.
The "ssh -vvv' (client side) has not been particularly helpful to me
when it comes to permissions.
and my understanding is that I can't run the sshd frontend without
screwing the permissions.
(the client sends the publickey packet and then jumps to next auth method)
Cheers.
On 4/04/2012 23:30, David Sastre Medina wrote:
> On Wed, Apr 04, 2012 at 03:26:39PM +0400, Andrey Repin wrote:
>> Greetings, Rurik Christiansen!
>>> I'm trying to make sshd to do key based authentication.
>>> I am guessing that is probably a problem of permissions but can't figure
>>> it out.
>>> All I found was this email:
>>> http://cygwin.com/ml/cygwin/2008-11/msg00212.html
>>> which basically says RTFM
>>> Well, I did RTFM, I followed the instructions. all looks OK as far as I
>>> can see but still no go.
>> Read logs on both sides, of course.
>> The most common issue is access rights on key files.
> Check for PubkeyAuthentication, StrictModes, AllowUsers, AllowGroups,
> AuthorizedKeysFile in the server side (whether they exist and how they are
> defined), read the manpage for detailed info on this options
> (sshd_config(5)).
> Try setting LogLevel to DEBUG.
> Provide a 'ssh -vvv user@host' test connection.
> You don't give enough info to figure out what the problem might be.
>
--
Nihil verus. Omnia possibilis.
--
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