一、ssh-add id_rsa 提示Permissions 0777 for 'id_rsa' are too open
Permissions 0777 for 'id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
二、意思是说公钥文件权限太宽了,需要设置为仅对使用用户可见。在linux或者mac系统中,仅需要chmod命令就可以完成设置,命令如下: