WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!怎么解决
时间: 2023-10-14 22:04:39 浏览: 180
当出现"WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!"这个错误时,说明远程主机的身份识别信息发生了变化,可能是由于设备系统重装或IP冲突等原因造成的[1]。为了解决这个问题,可以采取以下步骤:
1. 首先,你可以使用以下命令来删除已知主机的公钥信息:ssh-keygen -R <host>。其中,<host>是你要连接的主机的地址。这样可以清除之前与该主机相关的身份识别信息,以便重新建立连接。
2. 接下来,当再次连接该主机时,系统会询问是否信任新的主机身份。你可以输入"yes"并按回车键来确认连接。这样可以解决身份验证错误并成功连接到主机。
通过以上步骤,你应该能够解决"WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!"的问题并成功连接到远程主机。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [【linux】WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED 解决方法](https://blog.csdn.net/qq_41884002/article/details/123358315)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [ssh 登录 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! 解决办法](https://blog.csdn.net/weixin_32393347/article/details/127207684)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文