用于 azure HDInsight 的边缘节点上的 ssh
ssh on edge-node for azure HDInsight
我尝试部署具有边缘节点的 HDInsight 群集。
我使用 https://github.com/Azure/azure-quickstart-templates/blob/master/101-hdinsight-linux-with-edge-node/azuredeploy.json 进行部署。
部署完成后,我使用以下命令尝试了 ssh:
ssh sshuser@new-edgenode.myclustertest-ssh.azurehdinsight.net:22
[myclustertest 是集群的名称]。
它给出以下错误:
ssh: Could not resolve hostname new-edgenode.myclustertest-ssh.azurehdinsight.net:22: Name or service not known
我是否需要向 azuredeploy.json 添加一些内容以启用 ssh 访问?
看着 https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-linux-use-ssh-unix 我认为
<edgenodename>.<clustername>-ssh.azurehdinsight.net
默认启用外部访问。
问题出在 ssh 命令中。
我使用了 Azure 门户提供的 ssh 命令,希望它能无缝运行。我必须从命令中删除 :22 才能使其正常工作。
修改后的命令如下所示:
ssh sshuser@new-edgenode.myclustertest-ssh.azurehdinsight.net
我尝试部署具有边缘节点的 HDInsight 群集。 我使用 https://github.com/Azure/azure-quickstart-templates/blob/master/101-hdinsight-linux-with-edge-node/azuredeploy.json 进行部署。
部署完成后,我使用以下命令尝试了 ssh:
ssh sshuser@new-edgenode.myclustertest-ssh.azurehdinsight.net:22
[myclustertest 是集群的名称]。
它给出以下错误:
ssh: Could not resolve hostname new-edgenode.myclustertest-ssh.azurehdinsight.net:22: Name or service not known
我是否需要向 azuredeploy.json 添加一些内容以启用 ssh 访问?
看着 https://docs.microsoft.com/en-us/azure/hdinsight/hdinsight-hadoop-linux-use-ssh-unix 我认为
<edgenodename>.<clustername>-ssh.azurehdinsight.net
默认启用外部访问。
问题出在 ssh 命令中。
我使用了 Azure 门户提供的 ssh 命令,希望它能无缝运行。我必须从命令中删除 :22 才能使其正常工作。
修改后的命令如下所示:
ssh sshuser@new-edgenode.myclustertest-ssh.azurehdinsight.net