[CentOS] ssh with shared home dir
brian.mathis at gmail.com
Fri Oct 22 20:25:50 UTC 2010
On Fri, Oct 22, 2010 at 3:53 PM, JohnS <jses27 at gmail.com> 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
> 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.
More information about the CentOS