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.

  • 相关阅读:
    成功熬了四年还没死?一个IT屌丝创业者的深刻反思
    史氏语录
    WEB安全攻防学习内容
    从程序员的角度谈创业三年
    Windows2008 R2修改3389端口教程
    Win2008R2 zip格式mysql 安装与配置
    制作支持UEFI PC的Server2008 R2系统安装U盘
    郎科U208(主控 PS2251-50 HYNIX H27UCG8T2MYR)量产还原
    自用有线IP切换
    自动配置IP地址.bat
  • 原文地址:https://www.cnblogs.com/shihuvini/p/9913877.html
Copyright © 2011-2022 走看看