歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> 學習Linux >> CentOS:ECDSA host key "ip地址" for has changed and you have requested strict checking(轉),centosecdsa

CentOS:ECDSA host key "ip地址" for has changed and you have requested strict checking(轉),centosecdsa

日期:2017/3/3 17:57:43   编辑:學習Linux

CentOS:ECDSA host key "ip地址" for has changed and you have requested strict checking(轉),centosecdsa

CentOS:ECDSA host key "ip地址" for has changed and you have requested strict checking(轉),centosecdsa


原文地址:http://blog.csdn.net/ausboyue/article/details/52775281

Linux SSH命令錯誤:ECDSA host key "ip地址" for has changed and you have requested strict checking.記錄下方便記憶。

解決方案:在終端上輸入以下命令:

ssh-keygen -R "你的遠程服務器ip地址"

目的是清除你當前機器裡關於你的遠程服務器的緩存和公鑰信息,注意是大寫的字母“R”。

原因分析:根據個人的情況,原因是我的雲服務器重裝了系統(清除了與我本地SSH連接協議相關信息),本地的SSH信息便失效了,使用SSH連接相同的ip地址時使用的是失效的協議信息,所以會報錯,使用上述命令便可以清除known_hosts裡舊緩存文件

http://xxxxxx/Linuxjc/1183311.html TechArticle

Copyright © Linux教程網 All Rights Reserved