zoukankan      html  css  js  c++  java
  • ssh远程访问失败 Centos7

    ssh远程访问失败 Centos7

         命令ssh远程访问另外一台主机hadoop.master失败 

    #ssh hadoop.master
    

         报以下信息

    [root@hadoop ~]# ssh hadoop.master
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    The ECDSA host key for hadoop.master has changed,
    and the key for the corresponding IP address 192.168.121.130
    is unknown. This could either mean that
    DNS SPOOFING is happening or the IP address for the host
    and its host key have changed at the same time.
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @    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:/KCwo40lFi2rj2e62EkqJvlCnSsDnRv+W9/PtTog6ME.
    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:1
    ECDSA host key for hadoop.master has changed and you have requested strict checking.
    Host key verification failed.
    

           删除在上面显示访问失败的主机信息, 进入文件 .ssh/know_hosts

    #vi .ssh/known_hosts
    

      删除访问失败的主机信息IP和密钥记录(可能是),保存退出,重新访问。

      

  • 相关阅读:
    10.9 第七次作业游戏
    10.23 第六次作业 刘惠惠 this关键字
    第五次作业 刘惠惠 自动生成的方法存根
    谷歌历史影像下载
    ArcGIS 基础13-整饰输出
    ArcGIS 基础12-保存文件并打包
    ArcGIS 基础11-专题制图
    ArcGIS 基础10-拓扑校验
    ArcGIS 基础9-属性查询和空间查询
    ArcGIS 基础8-坐标系转换
  • 原文地址:https://www.cnblogs.com/Jomini/p/10673862.html
Copyright © 2011-2022 走看看