您的位置:首页 > 其它

密钥登陆服务器 失败

2017-05-06 19:15 99 查看
# 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!!!!!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐