WARNING: UNPROTECTED PRIVATE KEY FILE!

If you are getting this kind of error the the permissions on your files are modified incorrectly:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: UNPROTECTED PRIVATE KEY FILE! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0744 for '/home/your_name/.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.
bad permissions: ignore key: /home/your_name/.ssh/id_rsa





@ .ssh $ ls -alt
..
-rw-r--r--@  1 your_name  staff   222 Nov 26  2012 id_rsa.pub
-rw-r--r--   1 your_name  staff   887 Nov 20  2012 id_rsa
...
@ .ssh $ 

To fix this problem change permissions:

@ .ssh $ chmod 600 id_rsa
@ .ssh $ chmod 600 id_rsa.pub
@ .ssh $ ls -alt
total 80
...
-rw-------@  1 uki  staff   222 Nov 26  2012 id_rsa.pub
-rw-------   1 uki  staff   887 Nov 20  2012 id_rsa_cnh
...
@ .ssh $ 




As an Amazon Associate I earn from qualifying purchases.

My favorite quotations..


“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.”  by Robert A. Heinlein

"We are but habits and memories we chose to carry along." ~ Uki D. Lucas


Popular Recent Articles