登录到Azure应用服务运行实例

问题描述 投票:0回答:1

我正在运行Azure应用服务计划。我需要登录到实例以创建ssh密钥。

[在Azure门户中,他们提供了ssh选项来登录,但对我不起作用,它最终显示为错误消息,例如SSH CONNECT CLOSE-Error:connect ECONNREFUSED x.x.x.x:28160。]

如何启用ssh并登录到服务计划运行实例?

azure ssh azure-app-service-plans azure-vm-scale-set
1个回答
1
投票

如何启用ssh并登录到服务计划运行实例?

如果要进入Web App,而不是服务计划,则需要使用启用SSH的映像,例如Azure提供的运行时堆栈Node 10.14。当Web App正常时,ssh连接如下所示:

enter image description here

或者您可以根据需要创建自定义映像,并在其中启用SSH。 Configure SSH in a custom container中的步骤。

© www.soinside.com 2019 - 2024. All rights reserved.