zoukankan      html  css  js  c++  java
  • ssh-copy-id报错: Host key verification failed

    /workspace:$ ssh-copy-id root@10.103.xx.xx  -p 22022

    /usr/local/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed

    /usr/local/bin/ssh-copy-id:

    ERROR: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    ERROR: @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @

    ERROR: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    ERROR: IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

    ERROR: Someone could be eavesdropping on you right now (man-in-the-middle attack)!

    ERROR: It is also possible that a host key has just been changed.

    ERROR: The fingerprint for the RSA key sent by the remote host is

    ERROR: 83:33:90:ef:18:de:71:19:52:03:d2:c0:98:de:a5:b3.

    ERROR: Please contact your system administrator.

    ERROR: Add correct host key in /Users/angela/.ssh/known_hosts to get rid of this message.

    ERROR: Offending RSA key in /Users/angela/.ssh/known_hosts:3

    ERROR: RSA host key for [10.103.xx.xx]:22022 has changed and you have requested strict checking.

    ERROR: Host key verification failed.

    这种情况的产生原因是公钥变化而引起的无法登陆,在 known_hosts里删除对应的公钥信息就可以啦。

    $ vim ~/.ssh/known_hosts

  • 相关阅读:
    [转].net批量导入数据
    IIS6 应用程序池配置详解附建议设置
    [转]SQLServer死锁问题
    VSS 版本管理
    非功能性需求介绍[转]
    javascript获取网页中HTML元素
    [转]如何做一流的研究
    多web并发测试问题解决
    jQuery 页面校验
    SqlServer排序规则错误致使不能查询
  • 原文地址:https://www.cnblogs.com/iwangzheng/p/4422305.html
Copyright © 2011-2022 走看看