Depending on your specific application, you may encounter additional randomly named folders that store temporary files, caches, or other runtime-specific data.
In Azure App Service, the SSH key generated for deployment is stored in a temporary file system, which means it may not persist across app restarts or scale-out operations.
- Generate an SSH key pair: Generate an SSH key pair locally using a tool like ssh-keygen if you haven't already.
- Configure SSH for Azure App Service: In the Azure portal, go to your App Service, navigate to the "Configuration" blade, and scroll down to the "SSH" section. Add an app setting called WEBSITE_SSH_PUBLIC_KEY and paste the contents of your SSH public key file into the value field. Save the configuration.
- Deploy the SSH key: When you deploy your application to Azure App Service, the SSH public key will be injected into the app environment, making it available for SSH access.