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  

        参见

  



你可能感兴趣的:(Linux常见问题)