美文网首页
ERROR: Add correct host key in /

ERROR: Add correct host key in /

作者: 你的努力时光不会辜负 | 来源:发表于2021-04-07 11:12 被阅读0次

    ssh-copy-id -i ~/.ssh/id_rsa.pub -p22022 ocdp@x.x.x.x

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

    /usr/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 ECDSA key sent by the remote host is

    ERROR: SHA256:D7Sh/7IoKIxCjvRqFWzArnGdcJYy1u/8oMRX6l5UV4o.

    ERROR: Please contact your system administrator.

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

    ERROR: Offending ECDSA key in /home/ocdp/.ssh/known_hosts:76

    ERROR: ECDSA host key for [x.x.x.x]:22022 has changed and you have requested strict checking.

    ERROR: Host key verification failed.

    解决办法:删除当前主机上的known_hosts文件即可

                     rm ~/.ssh/known_hosts

    相关文章

      网友评论

          本文标题:ERROR: Add correct host key in /

          本文链接:https://www.haomeiwen.com/subject/hloykltx.html