发布于 2017-10-17 23:13:56 | 161 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Linux常用命令,程序狗速度看过来!

Linux

Linux是一套免费使用和自由传播的类Unix操作系统,是一个基于POSIX和UNIX的多用户、多任务、支持多线程和多CPU的操作系统。它能运行主要的UNIX工具软件、应用程序和网络协议。


下面小编就为大家带来一篇linux系统重装导致免密码key登录失败的解决方法。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧

在一台linux机器上ssh远程另外一台linux服务器时候出现:

[root@server .ssh]# ssh 192.0.50.80
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
97:d3:d4:f1:c9:c6:2e:40:93:b2:a8:70:45:e8:d2:6c.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending key in /root/.ssh/known_hosts:1
RSA host key for 192.0.50.80 has changed and you have requested strict checking.
Host key verification failed.
[root@server .ssh]#

这种情况是因为要ssh的机器上的ssh重新安装或者系统重装了,导致RSA host key 失效,解决方法:mv /root/.ssh/known_hosts /tmp即可重新登录

以上就是小编为大家带来的linux系统重装导致免密码key登录失败的解决方法全部内容了,希望大家多多支持PHPERZ~



最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务