Quantcast
Channel: Penumbra
Viewing all articles
Browse latest Browse all 20

CentOS 6 ignores public keys by default when SELinux is enforced

$
0
0
… which is quite obviously ridiculous. Here’s a quick fix to restore public key login functionality without disabling SELinux: # restorecon -R -v ~/.ssh Also remember to enforce the right permissions. # chmod 700 ~/.ssh # chmod 600 ~/.ssh/*

Viewing all articles
Browse latest Browse all 20

Trending Articles