Search code examples
azuresshazure-app-service-plansazure-vm-scale-set

Login into Azure app service running instance


I am having an Azure app service plan running. I need to login into the instance to create ssh key.

In the Azure portal, they provided the ssh option to login but it's not working for me, It ends up with error message like SSH CONNECTION CLOSE - Error: connect ECONNREFUSED x.x.x.x:28160.

How do I enable ssh and login into the service plan running instance?


Solution

  • How do I enable ssh and login into the service plan running instance?

    If you want to ssh into the Web App, not the service plan, you need to use the image that enabled the SSH, for example, the runtime stack Node 10.14 that Azure provided. When the Web App is OK, the ssh connection shows like below:

    enter image description here

    Or you can create a custom image as you want and enable the SSH inside it. The steps in Configure SSH in a custom container.