How to solve “Permissions 0777 for ‘~/.ssh/id_rsa’ are too open.” ?

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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s