首页 > 其他分享 >遇到:ECDSA host key ... for has changed and you have requested strict checking

遇到:ECDSA host key ... for has changed and you have requested strict checking

时间:2023-03-03 10:59:00浏览次数:35  
标签:... requested checking strict 49.171 ssh ECDSA

问题:

  • 远程ssh连接机器遇到如下报错。

ECDSA host key “ip地址” for has changed and you have requested strict checking

我图没了,借一下别人报错图。

 

 

解决:

1.在你的机器49.160上执行下面:

ssh-keygen -R "你的远程服务器ip地址"

命令含义:清除缓存和公钥。

 

2.再重新上传49.160的公钥到目标机器49.171。

ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]

 

3.测试一下

ssh [email protected]

 

 成功~!

 

 

参考资料:https://blog.csdn.net/u012599988/article/details/82111650

标签:...,requested,checking,strict,49.171,ssh,ECDSA
From: https://www.cnblogs.com/liqi175/p/17174750.html

相关文章