{"id":3103,"date":"2019-03-08T01:53:22","date_gmt":"2019-03-07T17:53:22","guid":{"rendered":"https:\/\/www.ookangzheng.com\/?p=3103"},"modified":"2020-05-24T15:58:30","modified_gmt":"2020-05-24T07:58:30","slug":"fix-id_rsa-permission-are-too-open","status":"publish","type":"post","link":"https:\/\/www.ookangzheng.com\/fix-id_rsa-permission-are-too-open\/","title":{"rendered":"Fix id_rsa permission are too open"},"content":{"rendered":"\n
On mac, when you copy ur backed up id_rsa from other computer, it will show an error <\/p>\n\n\n\n
This means too danger to it has this permission. In order to fix it, just make sure you are in directory .ssh, then change permission back to 0400. Boom~~ <\/p>\n\n\n\n Terminal<\/p>\n\n\n\n References On mac, when you copy ur backed up id_rsa from other computer, it will show an error permissions 0644 for…<\/p>\n","protected":false},"author":1,"featured_media":3105,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39],"tags":[],"class_list":["post-3103","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mac"],"_links":{"self":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/posts\/3103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/comments?post=3103"}],"version-history":[{"count":0,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/posts\/3103\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/media\/3105"}],"wp:attachment":[{"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/media?parent=3103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/categories?post=3103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ookangzheng.com\/wp-json\/wp\/v2\/tags?post=3103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}permissions 0644 for xxx.git are too open<\/code><\/p>\n\n\n\n
cd .ssh\nchmod 400 id_rsa<\/code><\/pre>\n\n\n\n
1. https:\/\/stackoverflow.com\/questions\/29933918\/ssh-key-permissions-0644-for-id-rsa-pub-are-too-open-on-mac\/29948797
Photo by <\/em>Artem Bali<\/em><\/a> on <\/em>Unsplash<\/em><\/a>
<\/p>\n","protected":false},"excerpt":{"rendered":"