You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/app-service/configure-custom-container.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -363,7 +363,7 @@ Group Managed Service Accounts (gMSAs) are currently not supported in Windows co
363
363
364
364
## Enable SSH
365
365
366
-
Secure Shell (SSH) is commonly used to execute administrative commands remotely from a command-line terminal. In order to enable the Azure Portal SSH console feature with custom containers, the following steps are required:
366
+
Secure Shell (SSH) is commonly used to execute administrative commands remotely from a command-line terminal. In order to enable the Azure portal SSH console feature with custom containers, the following steps are required:
367
367
368
368
1. Create a standard [sshd_config](https://man.openbsd.org/sshd_config) file with the following example contents and place it on the application project root directory:
369
369
@@ -383,12 +383,12 @@ Secure Shell (SSH) is commonly used to execute administrative commands remotely
383
383
```
384
384
385
385
> [!NOTE]
386
-
> This file configures OpenSSH and must include the following items in order to comply with the Azure Portal SSH feature:
386
+
> This file configures OpenSSH and must include the following items in order to comply with the Azure portal SSH feature:
387
387
> - `Port` must be set to 2222.
388
388
> - `Ciphers` must include at least one item in this list: `aes128-cbc,3des-cbc,aes256-cbc`.
389
389
> - `MACs` must include at least one item in this list: `hmac-sha1,hmac-sha1-96`.
390
390
391
-
2. Create an entrypoint script with the name `entrypoint.sh` (or change any existing entrypoint file) and add the command to start the SSH service, along with the application startup command. The below example demonstrates starting a Python application, please replace the last command according to the project language/stack:
391
+
2. Create an entrypoint script with the name `entrypoint.sh` (or change any existing entrypoint file) and add the command to start the SSH service, along with the application startup command. The following example demonstrates starting a Python application. Please replace the last command according to the project language/stack:
392
392
393
393
### [Debian](#tab/debian)
394
394
@@ -451,7 +451,7 @@ Secure Shell (SSH) is commonly used to execute administrative commands remotely
451
451
> [!NOTE]
452
452
> The root password must be exactly `Docker!` as it is used by App Service to let you access the SSH session with the container. This configuration doesn't allow external connections to the container. Port 2222 of the container is accessible only within the bridge network of a private virtual network and is not accessible to an attacker on the internet.
453
453
454
-
4. Rebuild and push the Docker image to the registry, then test the Web App SSH feature on Azure Portal.
454
+
4. Rebuild and push the Docker image to the registry, and then test the Web App SSH feature on Azure portal.
455
455
456
456
For further troubleshooting additional information is available at the Azure App Service OSS blog: [Enabling SSH on Linux Web App for Containers](https://azureossd.github.io/2022/04/27/2022-Enabling-SSH-on-Linux-Web-App-for-Containers/index.html#troubleshooting)
0 commit comments