Centos 6 public key authentication fix


Due to SELinux enabled we are not able to use public key authentication on Centos 6. Here is the quick fix:

test -x /sbin/restorecon && /sbin/restorecon .ssh .ssh/authorized\_keys