报错内容
Permissions 0777 for ‘/Users/username/.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.
解决方案
chmod 600 ~/.ssh/id_rsa
起因
报错内容说的是你给这个密钥文件的权限太大了, 所有它就不怎么平安了, 所以升高一下这个文件的权限就好了
本文由博客一文多发平台 OpenWrite 公布!