Re:Docker 0-Day Stopped Cold by SELinux
by __david__ on Saturday January 14, 2017 @02:19PM
(#13400023)
Every time I mess with Fedora I have to screw around with selinux trying to figure out how to make ~/.ssh/authorized_keys work. Every time I need to google the stupid magic incantation that makes things work (that normally should "just work") because I can just never remember it.
[ Parent
| on HN ]
I have always run SELinux on Fedora/CentOS/RHEL and I don't remember a time where I had issues with authorized_keys. The only thing recently I recall about ssh is that is complains if the files in .ssh are not mode 600.
SELinux has come a long way since RHEL4 days.
Re:Docker 0-Day Stopped Cold by SELinux
by __david__ on Wednesday January 18, 2017 @08:18AM
(#13426087)
I'm not talking about RHEL4. I'm talking recent Fedoras (within the last year or 2). Making a brand new ~/.ssh/authorized_keys file has never worked for me without running restorecon (which is the thing I can never remember).