SSH into webapp does not work

Erfan Nariman 436 Reputation points
2021-02-20T16:02:08.133+00:00

Following the documentation: https://learn.microsoft.com/en-us/azure/app-service/configure-linux-open-ssh-session#open-ssh-session-in-browser I get an error right after I go to the link https://<app-name>.scm.azurewebsites.net/webssh/host and it does not try to authenticate with my credentials. I get:

   SSH CONNECTION CLOSE - Error: connect EHOSTUNREACH 172.16.1.2:2222Error: connect ECONNREFUSED 172.16.1.2:2222Error: connect EHOSTUNREACH 172.16.1.2:2222Error: connect EHOSTUNREACH 172.16.1.2:2222Error: connect EHOSTUNREACH 172.16.1.2:2222Error: connect EHOSTUNREACH 172.16.1.2:2222Error: connect EHOSTUNREACH 172.16.1.2:2222Error: connect EHOSTUNREACH 172.16.1.2:2222 CREDENTIALS  

How can I resolve this? I want to adjust some things in our app manually.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,054 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ryan Hill 26,316 Reputation points Microsoft Employee
    2021-02-24T00:53:46.127+00:00

    Hi @Erfan Nariman not sure if it could a browser related issue or a backend issue. Let's try a couple of different things. Can you start a SSH session in a different browser? Also try starting a ssh session by running az webapp ssh -n MyUniqueAppName -g MyResourceGroup in the Azure CLI?

    Regards,
    Ryan


0 additional answers

Sort by: Most helpful