当连接到一个新的/未知的服务器(使用最近的 OpenSSH)时,例如:
ssh example.com
Run Code Online (Sandbox Code Playgroud)
您将获得如下指纹:
The authenticity of host 'example.org (192.0.2.42)' can't be established.
RSA key fingerprint is SHA256:7KMZvJiITZ+HbOyqjNPV5AeC5As2GSZES5baxy1NIe4.
Are you sure you want to continue connecting (yes/no)?
Run Code Online (Sandbox Code Playgroud)
但是,通常以这种形式为服务器提供指纹:
f6:fc:1c:03:17:5f:67:4f:1f:0b:50:5a:9f:f9:30:e5
Run Code Online (Sandbox Code Playgroud)
如何检查真实性(不打扰服务器管理员提供 SHA256 指纹)?