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