ssh“权限太开放”错误 - ssh “permissions are too open” error

08/05 01:28
阅读数 66

问题:

I had a problem with my mac where I couldn't save any kind of file on the disk anymore. 我的Mac出现问题,无法再在磁盘上保存任何类型的文件。 I had to reboot OSX lion and reset the permissions on files and acls. 我必须重新启动OSX Lion并重置文件和ACL的权限。

But now when I want to commit a repository I get the following error from ssh: 但是现在当我要提交存储库时,我从ssh收到以下错误:

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.

What permissions levels should i give to the id_rsa file? 我应该赋予id_rsa文件什么权限级别?


解决方案:

参考一: https://stackoom.com/question/ctjy/ssh-权限太开放-错误
参考二: https://oldbug.net/q/ctjy/ssh-permissions-are-too-open-error
展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
在线直播报名
返回顶部
顶部