ssh 密钥登录异常:permissions are too open
完整错误
一般提示诸如 666 700等超过600的权限值
Permissions 0666 for '/home/test/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
Load key "/home/test/.ssh/id_rsa": bad permissions
Permission denied (publickey).
原因及解决办法
密钥权限过大错误
此情况大多使用了非本机自动生成的密钥,导致其权限过大,无法正常使用,一般修改其权限600 即可继续使用
chmod 600 ~/.ssh/id_rsa