time to fix silly ssh bug

Neal Becker ndbecker2 at gmail.com
Tue Jun 19 13:46:32 UTC 2012

Jayson Vaughn wrote:

> I'm confused.  As long as ~/.ssh is 700 it works for me.
> On Jun 19, 2012 8:02 AM, "Neal Becker" <ndbecker2 at gmail.com> wrote:
>> It's been true for a long time that fedora sets up home dir as 775.
>> But ssh, with default settings, won't allow public keys to work when
>> home dir has mode 775.
>> Not only, but the poor new fedora user, who tries to ssh into his fedora
>> box, won't see any message indicating what is wrong.  Only if he/she can
>> be root and read var/log/secure they may learn the reason.
>> This is rediculous.  I liked the idea of 775 when it was introduced, since
>> it
>> did solve an annoyance with the old unix groups.  But then we should make
>> the
>> default fedora install work by setting the sshd config to allow it to
>> accept
>> this setup.
>> --
>> devel mailing list
>> devel at lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/devel

Are you sure??

ls -ld .ssh
drwx------. 2 nbecker nbecker 4096 Jun 15 08:25 .ssh

ls -ld ~/
drwxrwxr-x. 67 nbecker nbecker 4096 Jun 19 06:54 /home/nbecker/

Jun 19 09:44:41 nbecker5 sshd[25418]: Authentication refused: bad ownership or 
modes for directory /home/nbecker

More information about the devel mailing list