Linux 使用Expect 远程连接宿主机时会提示The authenticity of host can’t be established ECDSA key fingerprint is SHA256无法连接的问题

1、在测试机第一次远程连接宿主机时,是不会出现这个问题的,因每次连接时,测试机都会在宿主机的/root/.ssh/known_hosts 文件中产生一个测试机连接IP 所使用的的key,下次连接时就可以直接访问宿主机

2、由于在DHCP的机制下,不同的机器在不用的时间段会使用到同一个IP ,不同的机器即使使用一样的IP 在访问宿主机的信息也是不同的,但是由于之前这个IP 访问宿主机所产生的的KEY存在,所以下一个使用相同IP 的测试就无法将key 注册到宿主机上

解决的办法就是删除/root/.ssh/known_hosts 文件中有关使用IP 的那行注册信息。

解决The authenticity of host can’t be established ECDSA key fingerprint is SHA256相关推荐

  1. SSH The authenticity of host can’t be established Are you sure you want to continue connecting

    SSH连接云服务器提示The authenticity of host 'ip' can't be established.什么意思?码笔记来详细说下SSH ECDSA key fingerprint ...

  2. scp过程中的两个问题解决 “The authenticity of host can‘t be established” “ Permission denied“

    今天解决了scp过程中的两个问题 第一个问题就是在scp过程中报下面的错误 报这个错误The authenticity of host 'host1 (10.133.41.213)' can't be ...

  3. ssh连接The authenticity of host can't be established

    错误描述:The authenticity of host '123.207.232.xxx (123.207.232.xxx)' can't be established. ECDSA key fi ...

  4. The authenticity of host ‘‘ can‘t be established.

    git pull(ssh协议)远程分支 报 The authenticity of host 'xxx' can't be established. (window) 错误效果 The authent ...

  5. Github测试连接时报错“The authenticity of host ‘github.com‘can‘t be established.“RSA key fingerprint解决办法

    测试Github链接是否正常时git clone或者push的时候,经常会报这样的错误: The authenticity of host 'github.com (20.205.243.166)' ...

  6. git解决The authenticity of host ‘github.com (192.30.255.112)‘ can‘t be established问题

    1. 问题描述 新生成密钥的时候,git clone或者git push的时候,经常会报这样的错误: The authenticity of host 'github.com (192.30.255. ...

  7. git报错—The authenticity of host can't be established.

    git在执行push 或者pull命令时会提示The authenticity of host can't be established. 打开自己的ssh文件会发现有两个文件分别是公钥和私钥 产生原 ...

  8. pycharm 添加远程项目interpreter 报 the authenticity of host can‘t be established 解决方法

    一边来说是远程ip的端口不为22,所以不自动写入 当前电脑: 输入cmd 进入ssh后输入ssh -o StrictHostKeyChecking=no xxx 用户名@ip 对应我的情况是: ssh ...

  9. ssh连接The authenticity of host can‘t be established

    问题描述: 使用ssh远程连接的时候报如下错误: 解决办法: 输入如下命令: ssh -o StrictHostKeyChecking=no root@123.59.xx.xx 输入密码,链接成功 其 ...

最新文章

  1. JAVA连接数据库使用的API是什么呢,如何使用JDBC API在Java中建立数据库连接?
  2. 200.Number of Islands
  3. golang ssh 远程登录执行命令
  4. CF Gym102059 H. Fractions
  5. Spring 中的 LocalSessionFactoryBean和LocalContainerEntityManagerFactoryBean
  6. RabbitMQ学习之messageconver插件实现(Gson)
  7. 笨办法学 Linux 0~3
  8. C# WinForm WebBrowser (三) 编辑模式
  9. 并发编程学习之ForkJoinPool分支合并
  10. mc 服务器设置自动重启,《我的世界》服务器重启方法介绍 如何重启服务器
  11. 《应用时间序列分析:R软件陪同》——第 3 章 一元时间序列数据的拟合及预测 3.1 一些估计和预测方法的基本数学原理...
  12. 1.44TFT彩屏字体翻转,扫描方式的改变
  13. windows 设置目录不可执行程序
  14. CAD立体图做法详细步骤
  15. COJ 0359 xjr考考你数据结构(根号2)线段树区间增加
  16. 16.3.22-24(这几天借鉴了别人写的代码的整合,但是是beat的)
  17. 【程序设计基础与实验】地铁售票查询系统
  18. java 定义整数数组_定义一个由整数组成的数组,要求求出其中的奇数个数和偶数个数...
  19. 怎么篡改网站html文件,首页被篡改-当我打开网页时,总是被其他网页给篡改了,我该怎么办? 爱问知识人...
  20. 通信原理 | 宽带:运营商的带宽和实际网速的关系

热门文章

  1. 鲍思语:未来的汽车市场是年轻人的市场
  2. 公司的电脑监控软件一般能够监控到什么程度
  3. Speedoffice(word)插入表格,如何合并单元格?
  4. 2021年【机械员】通用基础及岗位技能-考试题库及答案(三)
  5. RecyclerView的全能适配器,带有header和bottom
  6. 门诊地图导航怎么做,零成本的医院室内导航解决方案
  7. 你是如何进行文件备份的?
  8. 一个菜鸡的HTML标签备忘录【点进来可能瞎眼】
  9. 示波器播放Bad apple坏苹果教程XY模式
  10. 微信无法连接服务器10,微信无法连接到服务器【应对方式】