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
相關文章
相關標籤/搜索