源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

linux系统重装导致免密码key登录失败的解决方法

  • 时间:2021-08-08 12:23 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要: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[b] /root/.ssh/known_hosts [/b]to get rid of this message. [b]Offending key in /root/.ssh/known_hosts:1[/b] [b]RSA host key for 192.0.50.80 has changed [/b]and you have requested strict checking. [b]Host key verification failed.[/b] [root@server .ssh]# 这种情况是因为要ssh的机器上的ssh重新安装或者系统重装了,导致RSA host key 失效,解决方法:mv /root/.ssh/known_hosts /tmp即可重新登录 以上就是小编为大家带来的linux系统重装导致免密码key登录失败的解决方法全部内容了,希望大家多多支持编程素材网~
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部