So needed this

By Shawn Smith,

Published on Nov 8, 2011

Sometimes you may do something to mess up these permissions, like transferring your keys to another machine – as I did. Run the following to fix most permissions problems. You may have to do this on both the remote host and local host.

chmod 600 ~/.ssh/id_rsa
chmod 644 ~/.ssh/

Share on Facebook Share on Linkedin Share on Twitter Send by email

Subscribe to the newsletter

Subscribe to the newsletter for the latest news and work updates straight to your inbox, every week.