SSH connection is not working

YogeshMct 0 Reputation points
2024-08-02T06:48:53.6533333+00:00

Hello,

I am trying to connect via SSH using the following path: App Service → Development Tools → SSH → Go. However, the connection is frequently terminating, which prevents me from running the data migration command.

Could you please assist with this issue?

Thank you.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,955 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vlad Costa 1,565 Reputation points
    2024-08-05T00:11:52.85+00:00

    Hi @YogeshMct

    Instead of using the in-browser SSH, try connecting via Azure CLI. You can use the following command:

    az webapp create-remote-connection --subscription <subscription-id> --resource-group <resource-group-name> --name <app-name>
    

    This command sets up a TCP tunnel to your app, which might provide a more stable connection.

    Reference:
    https://learn.microsoft.com/en-us/azure/app-service/configure-linux-open-ssh-session


    If this answers your question, please click Accept Answer and Yes if this answer was helpful. Doing so would help other community members with similar issues identify the solution. I highly appreciate your contribution to the community.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.