22 October 2013

Solution to this problem: Bad permissions: ignore key: /home/USERNAME/.ssh/id_rsa.

Error:
Source code viewer
  1. $ ssh -i ~/.ssh/id_rsa example@browse-tutorials.com
  2. reverse mapping checking getaddrinfo for browse-tutorials.com [127.0.0.1] failed - POSSIBLE BREAK-IN ATTEMPT!
  3. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  4. @ WARNING: UNPROTECTED PRIVATE KEY FILE! @
  5. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  6. Permissions 0744 for '/home/USERNAME/.ssh/id_rsa' are too open.
  7. It is recommended that your private key files are NOT accessible by others.
  8. This private key will be ignored.
  9. bad permissions: ignore key: /home/USERNAME/.ssh/id_rsa
  10. Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Programming Language: Text
Solution:
Source code viewer
  1. cd ~/
  2. chmod 700 id_rsa
Programming Language: Bash