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

  • 相关阅读:
    webstorm编辑器使用
    css深入理解z-index
    vue-cli安装失败问题
    html5 离线存储
    ESXI安装
    文档相似性匹配
    Hibernate基础
    云存储技术
    Signs of a poorly written jQuery plugin 翻译 (Jquery插件开发注意事项,Jquey官方推荐)
    Jquery类级别与对象级别插件开发
  • 原文地址:https://www.cnblogs.com/iwangzheng/p/4422305.html
Copyright © 2011-2022 走看看