ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题

Posted 黄洪波写点东西的地方

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题相关的知识,希望对你有一定的参考价值。

scp免密码登录:Linux基础 - scp免密码登陆进行远程文件同步

执行scp一直是OK的,某天在本地生成了公钥私钥后,scp到某个IP报以下错误

The authenticity of host \'192.168.233.137 (192.168.233.137)\' can\'t be established.
ECDSA key fingerprint is SHA256:EsqTfeCJ34DnGV66REuRRPhoFwaLuee5wxFgEAZ8b9k.
Are you sure you want to continue connecting (yes/no)? 
Host key verification failed.
lost connection

参考:好记心不如烂笔头,ssh登录 The authenticity of host 192.168.0.xxx can\'t be established. 的问题,即可不修改/etc/ssh/ssh_config文件的配置而解决此问题

ssh  -o StrictHostKeyChecking=no  192.168.0.xxx 

输入密码

 

再次scp,正常输入密码,问题解决。


 

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

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

最后面添加:

StrictHostKeyChecking no

UserKnownHostsFile /dev/null

以上是关于ssh登录 The authenticity of host 192.168.0.xxx can't be established. 的问题的主要内容,如果未能解决你的问题,请参考以下文章

The authenticity of host 192.168.0.xxx can't be established

ssh连接时提示THE AUTHENTICITY OF HOST XX CAN’T BE ESTABLISHED

The authenticity of host 'slaver2 (192.168.199.132)' can't be established. RSA key finge

ssh连接时去掉“The authenticity of host xx can’t be established”解决方法

关于 git 本地创建 SSH Key 遇到的一点问题(①file to save the key & ②the authenticity of host...)

CRT解决ssh远程登陆解决Unable to authenticate using any of the configured authenticatio