delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/24/09:55:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Message-ID: <421DEAF3.8070807@unipex.it>
Date: Thu, 24 Feb 2005 15:55:47 +0100
From: Michele Petrazzo <michele DOT petrazzo AT unipex DOT it>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: sshd and authorized_keys
X-IsSubscribed: yes

I'm making some test with sshd and authorized_keys. If I use the
standard directive into /etc/sshd_config :

AuthorizedKeysFile ~/.ssh/authorized_keys

I'm able to login without password from a client, but I want to
move the authorized_keys from ~/.ssh/ to another directory, for
example /ssh/keys/authorized_keys, because I want to use only one
key (I have only one user that can login into this machine)
sshd say me:

debug1: trying public key file /ssh/keys/authorized_keys
Authentication refused: bad ownership or modes for directory /

I don't want to modify ownership of / !

Is there a method to tell to sshd to don't make control of
ownership?
Or, is there a method for make my idea work?

Thanks,
Michele Petrazzo

--
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