sshd not doing key based authentication
Thu Apr 5 05:18:00 GMT 2012
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)
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:
>>> 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
> 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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin