file permissions - Re: [CentOS] Re: 2 SSH questions

Robert Moskowitz rgm at htt-consult.com
Wed Jan 11 04:24:19 UTC 2006


At 06:40 PM 1/10/2006, Johnny Hughes wrote:

> > drwxrwxr-x  2 rgm  rgm  4096 Jan 10 20:28 .ssh
> >
> > -rw-rw-r--  1 rgm rgm 1101 Jan 10 20:25 authorized_keys
> >
> > so what now????
> >
>
>.ssh needs to be 700
>authorized_keys needs to be 400
>
>chmod 700 .ssh
>and
>chmod 400 authorized_keys

Johnny,

thank you so much!  It works and I am in!

Now I will copy this to my notes and later go back so I can relearn 
my 'permissions' (yeah, I know all it is is an octal bit map, and I 
DID cut my teeth on a CDC6500 !)


Barrs Law of Recursive futility
         If you're smart enough to use one of these....
                 .....you can probably manage without one!





More information about the CentOS mailing list