[06/03/23 15:31:33] [SSH] WARNING: No entry currently exists in the Known Hosts file for this host. Connections will be denied until this new host and its associated key is added to the Known Hosts file. Key exchange was not finished, connection is closed.
时间: 2024-03-03 19:53:38 浏览: 54
这似乎是在使用SSH连接时出现的警告消息。它指出您尝试连接的主机不在已知主机列表中,因此连接将被拒绝,直到您将其添加到已知主机列表中。建议您将主机添加到已知主机列表中,以避免此警告消息。您可以执行以下命令将主机添加到已知主机列表中:
```
ssh-keyscan -t rsa <hostname> >> ~/.ssh/known_hosts
```
其中,`<hostname>` 是您要连接的主机的主机名或IP地址。执行此命令后,再次连接主机时,您应该不会再收到该警告消息。
阅读全文