Skip to content

Commit a7995cd

Browse files
authored
Apply suggestions from PR review
1 parent 218d574 commit a7995cd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/app-service/configure-custom-container.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Group Managed Service Accounts (gMSAs) are currently not supported in Windows co
363363

364364
## Enable SSH
365365

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:
367367

368368
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:
369369

@@ -383,12 +383,12 @@ Secure Shell (SSH) is commonly used to execute administrative commands remotely
383383
```
384384
385385
> [!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:
387387
> - `Port` must be set to 2222.
388388
> - `Ciphers` must include at least one item in this list: `aes128-cbc,3des-cbc,aes256-cbc`.
389389
> - `MACs` must include at least one item in this list: `hmac-sha1,hmac-sha1-96`.
390390
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:
392392
393393
### [Debian](#tab/debian)
394394
@@ -451,7 +451,7 @@ Secure Shell (SSH) is commonly used to execute administrative commands remotely
451451
> [!NOTE]
452452
> 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.
453453
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.
455455
456456
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)
457457

0 commit comments

Comments
 (0)