Azure-cli: [SSH] - Unable to connect to App Service SSH through "az webapp ssh" command

Created on 21 Feb 2020  路  9Comments  路  Source: Azure/azure-cli

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
Cannot connect to App Service SSH using "az webapp ssh" command. It states "Connection is not ready yet, please wait", and waits until times out.

To Reproduce

  • log into our tenant in Azure Portal
  • open cloud shell
  • type the command "az webapp ssh --name [our-app-service-name] -g [our-resource-group-name]-rg -t 30"

Expected behavior
Connection on our App Service through SSH.

Environment summary
We are using Azure portal own CLI (azure-cli 2.1.0) and also DevOps task "AzureCLI@2", both failing to reach our App Services.

Additional context
We have several App Services into the same App Service Plan, none of which can be connected through the "az webapp ssh" command. We are able to connect the SSH via Azure Portal > App Service > SSH normally.
Until last week we could (although not consistently) connect using this command. Now we just cannot.

Service Attention Web Apps customer-reported

Most helpful comment

I see the same behavior as @garimpeirodouniverso, both running the CLI locally on my machine, and from Cloud Shell. I hadn't tried az webapp ssh before today, so I've never seen successful behavior. I also get a timeout error with az webapp create-remote-connection.

All 9 comments

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI @antcp

webapp

Hi, any news? All connections set using "az webapp ssh" command are highly unstable, we just cannot rely on this command to connect to our App Service.

@btardif can you please check with the Linux folks on this command please. Thanks.

I see the same behavior as @garimpeirodouniverso, both running the CLI locally on my machine, and from Cloud Shell. I hadn't tried az webapp ssh before today, so I've never seen successful behavior. I also get a timeout error with az webapp create-remote-connection.

Has anybody had any insight regarding this topic?

I met the same issue. I was using CLI on VM machine. I could not access ssh from the terminal or from the website.

Currently seeing this in Web App for Containers.

having the same issue when I use "--slot slotname" , I'm using osx.

Was this page helpful?
0 / 5 - 0 ratings