permissions 0664 for 'id_rsa.pub' are too open code example Example: Permissions 0644 for '/root/.ssh/id_rsa' are too open. chmod 600 ~/.ssh/id_rsa