Skip to content

Permissions are too open – SSH Error – How to fix?

Permissions are too open – SSH Error – How to fix?

This error implies you have set the permissions on your hidden .ssh directory to be read by everyone. The .ssh directory should be read only by the current user, that is you. If you are getting this error (Permissions are too open) then you probably reset the permissions on your hidden .ssh directory in your user folder.

This error can be fixed by making the private key (id_rsa) readable or writable only for the owner.

sudo chmod 600 ~/.ssh/id_rsa
See also  How to install and init Google Cloud SDK in Linux (Debian / Ubuntu)?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.