美文网首页
ssh连接报错

ssh连接报错

作者: 慕知 | 来源:发表于2021-03-05 11:20 被阅读0次
    报错如下
    
    
    zydeMacBook-Pro:~ zy$ ssh [root@192.168.17.134](mailto:root@192.168.17.134)
    
    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    
    @ 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:eEF5M1kU86ZABxq6DemeoQIBSYjI+dUhXjN9ohuz+Xs.
    
    Please contact your system administrator.
    
    Add correct host key in /Users/zy/.ssh/known_hosts to get rid of this message.
    
    Offending ECDSA key in /Users/zy/.ssh/known_hosts:4
    
    ECDSA host key for 192.168.17.134 has changed and you have requested strict checking.
    
    Host key verification failed.
    
    
    
    解决方案:
    mv ~/.ssh/known_hosts /tmp(移除文件即可)
    
    
    尽量不要用rm ,养成好的习惯
    
    

    相关文章

      网友评论

          本文标题:ssh连接报错

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