zoukankan      html  css  js  c++  java
  • SSH登陆错误

    昨天登录好的,今天已登录提示如下:

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
    @    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 RSA key sent by the remote host is
    SHA256:BL+HuRQcU6BvdyrWeN3bGjfyAiA9uUFs/u/seBspQ5Q.
    Please contact your system administrator.
    Add correct host key in /home/bc/.ssh/known_hosts to get rid of this message.
    Offending RSA key in /home/bc/.ssh/known_hosts:5
      remove with:
      ssh-keygen -f "/home/bc/.ssh/known_hosts" -R jps.bonc.local
    RSA host key for jps.bonc.local has changed and you have requested strict checking.
    Host key verification failed.

    解决问题

    细心的人看给的提示信息就能解决问题^_^

      公钥过期

    1.ssh-keygen -R 加上你要连接的远程的ip(仔细观察就会发现提示信息中就有)

    2.可以去 用户目录下的.ssh目录(笔者的/home/bc/)下找known_hosts对应的RSA key删除。

  • 相关阅读:
    Judy alpha 第九天
    Judy alpha 第八天
    Judy alpha 第七天
    Judy alpha 第六天
    Judy alpha 第五天
    Judy alpha 第四天
    Fieldtrip 和 spm 文件读取
    matlab更改打开时候默认路径
    mne-python 安装大法
    Greenhouse-Geisser;统计结果报告;效应力大小介绍
  • 原文地址:https://www.cnblogs.com/brokencolor/p/12172360.html
Copyright © 2011-2022 走看看