對公鑰或者祕鑰進行權限降級處理:ssh
(1)chmod 600 ~/.ssh/公鑰名字權限
若是 ssh -i ~/.ssh/公鑰名字 root@IP地址 這時候仍是提示以上問題,請進行第二步
(2)chmod 700 ~/.ssh