![如何安全地获取并检查“known_hosts”的主机公钥?](https://linux22.com/image/789550/%E5%A6%82%E4%BD%95%E5%AE%89%E5%85%A8%E5%9C%B0%E8%8E%B7%E5%8F%96%E5%B9%B6%E6%A3%80%E6%9F%A5%E2%80%9Cknown_hosts%E2%80%9D%E7%9A%84%E4%B8%BB%E6%9C%BA%E5%85%AC%E9%92%A5%EF%BC%9F.png)
对于新部署的实例,我第一次 SSH 连接时收到以下消息:
The authenticity of host '[hostname] ([IP address])' can't be established.
RSA key fingerprint is [key fingerprint].
Are you sure you want to continue connecting (yes/no)?
我想避免与用户的这种互动。
如何安全的获取、查看和保存这个公钥?
对于新部署的实例,我第一次 SSH 连接时收到以下消息:
The authenticity of host '[hostname] ([IP address])' can't be established.
RSA key fingerprint is [key fingerprint].
Are you sure you want to continue connecting (yes/no)?
我想避免与用户的这种互动。
如何安全的获取、查看和保存这个公钥?