三十七、The authenticity of host ‘slave1 (192.168.231.106)‘ can‘t be established.

简介: 三十七、The authenticity of host ‘slave1 (192.168.231.106)‘ can‘t be established.

问题描述:


今日使用scp命令,发现警告:


24.png


       译文为:无法确定主机“slave1 (192.168.231.106)”的真实性。

ECDSA 密钥指纹是 SHA256:uem/yiYnLXdrBWUdm378y3SQFQwDPiaHYNNLOBp/HPU。

ECDSA 密钥指纹为 MD5:8c:f6:6c:a4:f7:f5:26:f6:38:bb:29:20:cb:e6:da:34。

您确定要继续连接吗(是/否)?


问题分析:


     

       长时间未使用,密钥关系发生了改变


问题解决:


       修改/etc/ssh/ssh_config文件的配置,以后则不会再出现此问题


       1、修改文件:


vim /etc/ssh/ssh_config


       2、文末添加:


StrictHostKeyChecking no
UserKnownHostsFile /dev/null
相关文章
|
缓存 网络协议 开发工具
Server is unreachable 服务器不可及
Server is unreachable 服务器不可及
974 0
Server is unreachable 服务器不可及
|
Kubernetes 网络协议 容器
kubernates(K8s) 踩坑日记(一)init初始化报错 dial tcp [::1]:10248: connect: connection refused
kubernates(K8s) 踩坑日记(一)init初始化报错 dial tcp [::1]:10248: connect: connection refused
2519 0
kubernates(K8s) 踩坑日记(一)init初始化报错 dial tcp [::1]:10248: connect: connection refused
|
Arthas 测试技术 网络安全
The telnet port 3658 is used by process
是否在本地使用Arthas的时候,遇到The telnet port 3658 is used by process 34725 instead of target process 44848, you will connect to an unexpected process的异常,其实解决方法很简单。
2053 0
The telnet port 3658 is used by process
|
5月前
|
存储 网络协议 网络安全
Flannel dial tcp X.X.X.X i/o timeout报错解决
总的来说,解决这个问题需要对你的网络环境、Flannel配置和etcd服务进行全面的检查和调试。
123 0
|
6月前
|
关系型数据库 MySQL Java
datagrip连接mysql报错: No appropriate protocol (protocol is disabled or cipher suites are inappropriate
datagrip连接mysql报错: No appropriate protocol (protocol is disabled or cipher suites are inappropriate
125 0
|
Kubernetes 网络协议 容器
kubectl命令报错:Unable to connect to the server: dial tcp XXX:16443: connect: no route to host
kubectl命令报错:Unable to connect to the server: dial tcp XXX:16443: connect: no route to host
987 0
|
安全 网络安全 数据安全/隐私保护
ssh连接时提示THE AUTHENTICITY OF HOST XX CAN’T BE ESTABLISHED
ssh链接云主机: ssh root@123.59.xx.xx 报错:THE AUTHENTICITY OF HOST XX CAN’T BE ESTABLISHED   解决办法: ssh -o StrictHostKeyChecking=no root@123.59.xx.xx 输入密码,链接成功   与ssh中Host key verification failed问题一样。
4022 0
|
网络安全
mac下 ssh: connect to host localhost port 22: Connection refused
mac下 ssh: connect to host localhost port 22: Connection refused
747 0
mac下 ssh: connect to host localhost port 22: Connection refused
|
分布式计算 Hadoop 网络安全
三十一、 master: ssh: connect to host master port 22: No route to host
三十一、 master: ssh: connect to host master port 22: No route to host
1004 0
三十一、 master: ssh: connect to host master port 22: No route to host
|
弹性计算 网络协议 安全
记一次吐血的ping: unknown host
ping域名提示unknown host,ping ip则可以通,ping的时候抓包没有解析的包出去,是解析的问题吗?
记一次吐血的ping: unknown host