I thought the permissions had to be 600 also, but when I tested it out
on my gentoo box earlier today, 644 seemed ok for the keys file in
the default config:

  [EMAIL PROTECTED]:/etc/init.d> ssh penemunde
  Last login: Mon Mar 28 10:00:43 2005 from voyager2.cthulhu.dircon.co.uk
  gentoo:/home2/digbyt> cd .ssh
  gentoo:.ssh> ls -l
  total 8
  -rw-r--r--  1 digbyt digbyt 1149 Mar 28 09:54 authorized_keys
  -rw-r--r--  1 digbyt digbyt  838 Mar 18 15:14 known_hosts
  gentoo:.ssh> ls -ld .
  drwx------  2 digbyt digbyt 4096 Mar 28 09:55 .
  gentoo:.ssh>


On Mon, Mar 28, 2005 at 11:59:48AM -0600, Kashani wrote:
> Digby Tarvin wrote:
> >Seems you are right. I had discovered the need for  'authorized_keys2'
> >some time ago, and been using it ever since.
> >
> >But I just tried moving it to 'authorized_keys' and it appears that is
> >now accepted for protocol 2 also.
> 
> Yeah authorized_keys2 was a transitional file when protocol 2 first came 
> out IIRC. Mostly as a way to provide backwards compatibility to older 
> clients. It hasn't been needed if you were running current server and 
> client software.
> 
> In regards to the problem. Check your permissions. .ssh/ and 
> authorized_keys should be owned by the local user and have permissions 
> of 600. If they do not, authentication won't work.
> 
> kashani
> --
> [email protected] mailing list

-- 
Digby R. S. Tarvin                                             [EMAIL PROTECTED]
http://www.digbyt.com
--
[email protected] mailing list

Reply via email to