Home > Linux >

CentOS 6 / 7: SSH Server /root/.ssh/authorized_keys permission denied

After a minimal installation of CentOS 6 or 7 selinux is active and denies the SSH server to open the authorized_keys file.
This can be fixed without deactivating selinux:

cd /root
chcon -R --type=ssh_home_t .ssh
KategorienLinux
  1. Bisher keine Kommentare
  1. Bisher keine Trackbacks