The authenticity of host '172.19.144.8 (172.19.144.8)' can't be established.
时间: 2024-06-15 18:03:59 浏览: 20
当你在使用SSH连接到一个新的主机时,可能会遇到这样的提示:"The authenticity of host '172.19.144.8 (172.19.144.8)' can't be established." 这个提示是SSH在首次连接到一个新的主机时出现的,它表示你的计算机没有保存该主机的公钥,因此无法验证该主机的身份。
为了确保你连接到的是正确的主机,SSH使用公钥加密来验证主机的身份。当你首次连接到一个新的主机时,SSH会生成一个唯一的公钥,并将其保存在你计算机上的known_hosts文件中。当你再次连接到同一个主机时,SSH会比对该主机的公钥与known_hosts文件中保存的公钥是否一致,以确定该主机的身份是否可信。
当你看到这个提示时,SSH正在告诉你它无法验证该主机的身份,因为它在known_hosts文件中找不到该主机的公钥。这可能是因为你首次连接到该主机,或者该主机的公钥已经发生了变化。
为了解决这个问题,你可以选择接受该主机的公钥并将其保存到known_hosts文件中,以便将来连接时进行验证。你可以输入"yes"来接受该主机的公钥,并将其保存到known_hosts文件中。如果你不确定该主机的身份是否可信,或者你怀疑该主机的公钥可能已经被篡改,你可以选择中断连接。
相关问题
The authenticity of host can't be established.
"The authenticity of host can't be established"是一个在使用SSH远程连接宿主机时可能出现的提示。该提示是由于SSH客户端检测到宿主机的公钥发生了变化或者是第一次连接宿主机时出现的。这个提示是为了确保连接的安全性,以防止中间人攻击。提示中的"authenticity"指的是宿主机的真实性和可信度。提示中的"can't be established"表示无法确定宿主机的真实性。在这种情况下,SSH客户端会显示宿主机的公钥指纹,以供用户检查和确认是否连接到正确的宿主机。用户可以选择接受或拒绝连接。如果用户选择接受,客户端会将宿主机的公钥添加到已知主机列表中,以便以后的连接。如果用户选择拒绝,连接将被终止。 这个提示是为了确保连接的安全性,以防止中间人攻击。提示中的"authenticity"指的是宿主机的真实性和可信度。提示中的"can't be established"表示无法确定宿主机的真实性。在这种情况下,SSH客户端会显示宿主机的公钥指纹,以供用户检查和确认是否连接到正确的宿主机。用户可以选择接受或拒绝连接。如果用户选择接受,客户端会将宿主机的公钥添加到已知主机列表中,以便以后的连接。如果用户选择拒绝,连接将被终止。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [解决The authenticity of host can’t be established ECDSA key fingerprint is SHA256](https://blog.csdn.net/weixin_45644532/article/details/121035074)[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: 33.333333333333336%"]
- *2* [centos6.5配置ssh免秘钥登陆执行pssh命令的讲解](https://download.csdn.net/download/weixin_38662089/14092253)[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: 33.333333333333336%"]
- *3* [ssh连接The authenticity of host can‘t be established](https://blog.csdn.net/qq_35669659/article/details/117742251)[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: 33.333333333333336%"]
[ .reference_list ]
the authenticity of host '' can't be established.
This message usually appears when you are trying to connect via SSH to a remote server for the first time. It means that the server's public key is not recognized by your computer, and you need to verify its authenticity before proceeding.
To do this, you can compare the fingerprint of the server's public key with the one provided to you by the server administrator. If they match, you can proceed with the connection by typing "yes" when prompted. If you are unsure or suspicious about the fingerprint, you should not proceed with the connection and contact the server administrator for further instructions.
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)