ssh -i key 執行時 Permissions 0644 for '你的.pem' are too open 問題

        ssh -i key 地址 ;使用密鑰登錄時的 

Permissions 0644 for '你的.pem' are too open.

It is required that your private key files are NOT accessible by others.

This private key will be ignored.

Load key "你的.pem": bad permissions

[email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic)


            解決辦法

            chmod 600 你的密鑰文件  
        比如:  chmod 600 xiaowugui.pem  

        參見

  



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章