zoukankan      html  css  js  c++  java
  • ssh RSA key变化后处理

    root@localhost:/# scp -r root@172.19.47.30:/home/linux-4.16.2-devm.1.2.aarch64.dongbo ./
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @ 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 a host key has just been changed.
    The fingerprint for the ECDSA key sent by the remote host is
    SHA256:mT42yn9gpr4Lpfy2wjikNYdSC2SxdJJuL8QxfNNUhrY.
    Please contact your system administrator.
    Add correct host key in /root/.ssh/known_hosts to get rid of this message.
    Offending ECDSA key in /root/.ssh/known_hosts:10
    remove with:
    ssh-keygen -f "/root/.ssh/known_hosts" -R "172.19.47.30"
    ECDSA host key for 172.19.47.30 has changed and you have requested strict checking.
    Host key verification failed.
    root@localhost:/# ssh-keygen -f "/root/.ssh/known_hosts" -R "172.19.47.30"
    # Host 172.19.47.30 found: line 10
    /root/.ssh/known_hosts updated.
    Original contents retained as /root/.ssh/known_hosts.old
    root@localhost:/# scp -r root@172.19.47.30:/home/linux-4.16.2-devm.1.2.aarch64.dongbo ./
    The authenticity of host '172.19.47.30 (172.19.47.30)' can't be established.
    ECDSA key fingerprint is SHA256:mT42yn9gpr4Lpfy2wjikNYdSC2SxdJJuL8QxfNNUhrY.
    Are you sure you want to continue connecting (yes/no)? yes
    Warning: Permanently added '172.19.47.30' (ECDSA) to the list of known hosts.

  • 相关阅读:
    php7.4 降级 php7.1 的坑
    python 记录网页 生成pdf
    Mac 安装常用软件环境
    python 2.7 操作 excel
    007整数反转
    006Z字形变换
    005最长回文子串
    004寻找两个正序数组的中位数
    003无重复字符的最长子串
    002两数相加
  • 原文地址:https://www.cnblogs.com/shihuvini/p/9913877.html
Copyright © 2011-2022 走看看