When you are try use a key and you are getting this massage:
Permissions 0777 for '~/.ssh/id_rsa' are too open. It is recommended that your private key files are NOT accessible by others. This private key will be ignored.
To solve it you should change the permissions of your file.
chmod 400 ~/.ssh/id_rsa
**NOTE** : Keys need be readable by you.