Home > Back-end >  How to SSH to Azure Function Linux
How to SSH to Azure Function Linux

Time:12-01

I have created a Consumption based Azure Function (LINUX) - B1. Now, I need to access SSH of this function.

However, under development tools I am not able to find SSH.

I also tried https://<app-name>.scm.azurewebsites.net/webssh/host That too doesn't work nor az webapp create-remote-connection --subscription <subscription-id> --resource-group <resource-group-name> -n <app-name> & .

Note: enter image description here

CodePudding user response:

Only the Windows Functions App version provides SSH. The Linux version does not.

CodePudding user response:

This is unsupported on Linux consumption plan. If you want SSH you should deploy function in non consumption plan, either in app service plan or in elastic plan.

However SSH is not an option on consumption plan you can always go to Kudu (Advanced Tools) and refer environment details or deployment. https://github.com/projectkudu/kudu

  • Related