WaspW
Wasp16mo ago
Gwaggli

Enable SSH on Backend-Server

I recently migrated to Azure and would like to enable SSH to connect to the docker container for troubleshooting in case something goes wrong. I found this Guide on how to set this up: https://learn.microsoft.com/en-gb/azure/app-service/configure-custom-container?tabs=debian&pivots=container-linux#enable-ssh
It needs me to add an sshd_config file on root level (i guess i would do this by cpy during build) and also modify the Dockerfile which is created during Build. I guess there is no way for me to modify this file without writing a script which manually inserts parts on specific lines. Any advice on this?
Learn how to configure a custom container in Azure App Service. This article shows the most common configuration tasks.
Was this page helpful?