Using ssh-copy-id to copy a ssh key to a new f11 host that has selinux enabled, the authorized_keys file is created on the remote host with an incorrect context. If you login and restorecon -Rv the .ssh directory you can use the key and login. [root@revan ~]# ls -laZ .ssh drwx------. root root unconfined_u:object_r:admin_home_t:s0 . drwxr-x---. root root system_u:object_r:admin_home_t:s0 .. -rw-------. root root unconfined_u:object_r:admin_home_t:s0 authorized_keys [root@revan ~]# restorecon -Rv .ssh restorecon reset .ssh context unconfined_u:object_r:admin_home_t:s0->system_u:object_r:home_ssh_t:s0 restorecon reset .ssh/authorized_keys context unconfined_u:object_r:admin_home_t:s0->system_u:object_r:home_ssh_t:s0
*** Bug 509138 has been marked as a duplicate of this bug. ***