Key-based auth fails - OpenSSH 3.7.1p2 (cygwin)
hayward at slothmud.org
hayward at slothmud.org
Fri Oct 10 03:08:32 EST 2003
Wonderful, that fixed it for me.
Thanks!
Brian Hayward
>On Thu, Oct 09, 2003 at 10:17:27AM -0500, hayward at slothmud.org wrote:
>> Hey all, Maybe someone has seen my problem before with OpenSSH under
>> cygwin. I'm trying to use key-based authentication and it's failing.
>>
>> Configuration, permissions and -ddd information is provided in this email.
>>
>> Thanks,
>> Brian Hayward
>>
>> ---------- Forwarded message ----------
>> Date: Thu, 9 Oct 2003 10:12:47 -0500 (CDT)
>> From: hayward at slothmud.org
>> To: cygwin at cygwin.com
>> Subject: Re: Key-based auth fails - OpenSSH 3.7.1p2
>>
>>
>> More information on file permissions:
>> ls -ld /
>> drwxrwxrwt+ 9 Administ ???????? 4096 Oct 9 08:57 /
>>
>> ls -ld /home
>> drwxr-xr-x+ 5 Administ SYSTEM 0 Oct 9 10:07 /home
>>
>> ls -ld /home/hayward
>> drwx------+ 3 hayward Administ 0 Oct 9 10:07 /home/hayward
>>
>> ls -altr /home/hayward/.ssh
>> total 4
>> -rw------- 1 hayward Administ 618 Oct 9 09:40 authorized_keys
>> -rw-r--r-- 1 hayward Administ 1228 Oct 9 09:40 known_hosts
>> drwx------+ 2 hayward Administ 4096 Oct 9 09:41 .
>> -rw------- 1 hayward Administ 618 Oct 9 09:41 authorized_keys2
>> drwx------+ 3 hayward Administ 0 Oct 9 10:07 ..
>
>SYSTEM needs read access to your authorized_keys file. Try
>
> setfacl -m u:system:r-- ~ ~/.ssh ~/.ssh/authorized_keys
>
>Corinna
>
>
More information about the openssh-unix-dev
mailing list