密钥登陆服务器 失败

# ssh 1xx.xx.xx.xxx
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@         WARNING: UNPROTECTED PRIVATE KEY FILE!          @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Permissions 0750 for '/root/.ssh/id_rsa' are too open.
It is required that your private key files are NOT accessible by others.
This private key will be ignored.
root@ck-ThinkPad-T540p:~/.ssh# chmod 600 ./*
root@ck-ThinkPad-T540p:~/.ssh# ll
total 28
drwx------ 3 root root 4096 5月   6 19:00 ./
drwx------ 4 root root 4096 5月   6 19:00 ../
-rw------- 1 root root  398 5月   6 19:06 authorized_keys
-rw------- 1 root root 1675 5月   6 19:06 id_rsa
-rw------- 1 root root  389 5月   6 19:06 id_rsa.pub
-rw------- 1 root root  442 5月   6 18:55 known_hosts
drw------- 2 root root 4096 5月   6 18:25 tmp/
root@ck-ThinkPad-T540p:~/.ssh# ssh xxx.xxx.xxx.xxxx
#it ok!!!!!
原文地址:https://www.cnblogs.com/bass6/p/6817766.html