Re: ssh with shared home dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Oct 22, 2010 at 3:53 PM, JohnS <jses27@xxxxxxxxx> wrote:
>
> On Fri, 2010-10-22 at 15:30 -0400, Tim Dunphy wrote
>> >
>> > The permissions on the .ssh directory must also be correct.  Otherwise, yes.
> ---
> chmod 755 ~/.ssh
>
> chmod 644 ~/.ssh/authorized_keys
>
> John
>
> drwxr-xr-x  2 ethan ethan    4096 Oct 10 17:16 .ssh
> -rw-r--r--  1 ethan ethan  396 Oct 10 17:16 authorized_keys
>

No, that's the opposite of what you want.  If that works for you then
your sysadmin has disabled StrictModes and it may leave you open to
some security issues.

Directory should be 700.  File should be 600.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux