Permissions 0644 for '/root/.ssh/id_rsa' are too open.

C++
chmod 600 ~/.ssh/id_rsa
Source

Also in C++: