delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/09/12:40:02

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 9 Oct 2003 18:39:49 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Key-based auth fails - OpenSSH 3.7.1p2
Message-ID: <20031009163949.GB14344@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Pine DOT LNX DOT 4 DOT 44 DOT 0310090955410 DOT 15495-100000 AT lotus DOT slothmud DOT org> <Pine DOT LNX DOT 4 DOT 44 DOT 0310091008440 DOT 15495-100000 AT lotus DOT slothmud DOT org>
Mime-Version: 1.0
In-Reply-To: <Pine.LNX.4.44.0310091008440.15495-100000@lotus.slothmud.org>
User-Agent: Mutt/1.4.1i

On Thu, Oct 09, 2003 at 10:12:47AM -0500, hayward AT slothmud DOT org wrote:
> 
> 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

authorized_keys2 is deprecated, btw.  Append all keys in authorized_keys2
to authorized_keys.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019