美文网首页
RSA host key for 172.16.138.70 h

RSA host key for 172.16.138.70 h

作者: Peter杰 | 来源:发表于2019-09-29 15:44 被阅读0次

    今天重新越狱后连接手机时,发现报错:
    RSA host key for 172.16.138.70 has changed and you have requested strict checking. Host key verification failed.
    具体如下:


    因为重装后,本地机和服务器内部ssh对不上导致错误,因此,只需要删除本地机ssh缓存信息,即可恢复。

    ssh-keygen -R [服务器ip address]
    

    得到以下结果:

    # Host [IP address] found: line **
    /Users/apple/.ssh/known_hosts updated.
    Original contents retained as /Users/apple/.ssh/known_hosts.old
    

    重新连接即可

    相关文章

      网友评论

          本文标题:RSA host key for 172.16.138.70 h

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