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

问题:

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的权限。 ssh

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

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文件什么权限级别? .net


解决方案:

参考一: https://stackoom.com/question/ctjy/ssh-权限太开放-错误
参考二: https://oldbug.net/q/ctjy/ssh-permissions-are-too-open-error
相关文章
相关标签/搜索