【问题标题】:ssh on edge-node for azure HDInsight用于 azure HDInsight 的边缘节点上的 ssh
【发布时间】:2017-11-21 11:05:16
【问题描述】:

我尝试使用边缘节点部署 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 

默认启用外部访问。

【问题讨论】:

    标签: azure azure-hdinsight


    【解决方案1】:

    问题出在 ssh 命令中。

    我使用了 azure 门户提供的 ssh 命令,希望它能无缝运行。我必须从命令中删除 :22 才能使其工作。

    修改后的命令如下:

    ssh sshuser@new-edgenode.myclustertest-ssh.azurehdinsight.net
    

    【讨论】:

      猜你喜欢
      • 2014-10-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-10-05
      • 2013-05-17
      相关资源
      最近更新 更多