我已经创建了HDInsight群集,并在创建群集时提供了ssh公共密钥。
当我尝试SSH进入群集时,系统会要求我验证群集的SSH指纹:
user:~ me$ ssh
sshuser@myclusterr-ssh.azurehdinsight.net
The authenticity of host 'myclusterr-ssh.azurehdinsight.net (1.2.3.4)' can't be established.
ECDSA key fingerprint is SHA256:c+L/1234567890abcdefghijklmnop/1234.
Are you sure you want to continue connecting (yes/no)?
借助Azure VM,我可以从命令脚本运行ssh-keygen -l -f /etc/ssh/ssh_host_ecdsa_key.pub
来输出签名:
我可以在HDInsight群集上执行类似的操作来检索群集的SSH指纹吗?