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.

  • 相关阅读:
    SQL常规查询详解
    WEBGL学习【二】平面图形
    WEBGL学习【一】初识WEBGL
    VS2008集成QT的OpenGL开发(实现二维图形的旋转)
    Window文件路径
    字符串转DateTime
    字符串连接
    String.Split分隔字符串
    使用对象初始值设定项初始化
    表达式树
  • 原文地址:https://www.cnblogs.com/shihuvini/p/9913877.html
Copyright © 2011-2022 走看看