Share in top social networks!

… 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/*
Share in top social networks!

  One Response to “CentOS 6 ignores public keys by default when SELinux is enforced”

  1. Another reason you want to use Kerberos. Really, you do. :)

 Leave a Reply

(required)

(required)


+ 9 = twelve

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

 
© 2012 Penumbra Suffusion theme by Sayontan Sinha