This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sshd and authorized_keys


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]