-
Notifications
You must be signed in to change notification settings - Fork 21.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr …
…into nw-vpn-cli
Showing
373 changed files
with
8,455 additions
and
2,218 deletions.
There are no files selected for viewing
Binary file modified
BIN
-44.7 KB
(81%)
...y-b2c/media/add-api-connector-token-enrichment/example-anonymized-audit-log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-44.9 KB
(81%)
...s/active-directory-b2c/media/add-api-connector/example-anonymized-audit-log.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+16.3 KB
(110%)
...e-directory-b2c/media/client-credentials-grant-flow/copy-application-secret.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.37 KB
(97%)
.../custom-policies-series-store-user/screenshot-of-create-users-custom-policy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+9.67 KB
(110%)
...tory-b2c/media/partner-akamai-secure-hybrid-access/akamai-oidc-app-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+33.1 KB
(150%)
articles/active-directory-b2c/media/partner-arkose-labs/search-app-id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.36 KB
(90%)
...es/active-directory-b2c/media/secure-api-connector/api-connector-renew-cert.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.31 KB
(96%)
articles/active-directory-b2c/media/technical-overview/portal-01-users.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8.22 KB
(110%)
...les/active-directory-b2c/media/tenant-management/get-azure-ad-b2c-tenant-id.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-19.5 KB
(85%)
...es/active-directory-b2c/media/tenant-management/guest-account-resend-invite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-855 Bytes
(96%)
...a/troubleshoot-custom-policies/vscode-extension-application-insights-filter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+3.57 KB
(110%)
...roubleshoot-custom-policies/vscode-extension-application-insights-highlight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-4.63 KB
(96%)
...a/troubleshoot-custom-policies/vscode-extension-application-insights-report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.1 KB
(110%)
...ia/troubleshoot-custom-policies/vscode-extension-application-insights-trace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+6.1 KB
(110%)
...shoot-with-application-insights/vscode-extension-application-insights-trace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-606 Bytes
(100%)
articles/active-directory-b2c/media/tutorial-create-tenant/switch-directory.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,46 +6,46 @@ author: msangapu-msft | |
|
||
ms.assetid: 66f9988f-8ffa-414a-9137-3a9b15a5573c | ||
ms.topic: article | ||
ms.date: 10/13/2023 | ||
ms.date: 01/28/2025 | ||
ms.author: msangapu | ||
ms.custom: devx-track-azurecli, linux-related-content | ||
zone_pivot_groups: app-service-containers-windows-linux | ||
--- | ||
# Open an SSH session to a container in Azure App Service | ||
|
||
[Secure Shell (SSH)](https://wikipedia.org/wiki/Secure_Shell) can be used to execute administrative commands remotely to a Container. App Service provides SSH support direct into an app hosted in a Container. | ||
|
||
::: zone pivot="container-windows" | ||
|
||
## Open SSH session in browser | ||
[Secure Shell (SSH)](https://wikipedia.org/wiki/Secure_Shell) can be used to execute administrative commands remotely to a container. App Service provides SSH support directly into an app hosted in a Windows custom container. | ||
|
||
[!INCLUDE [Open SSH session in browser](../../includes/app-service-web-ssh-connect-no-h.md)] | ||
Windows custom containers don't require any special settings for the [browser SSH session](#open-ssh-session-in-browser) to work. SSH sessions through Azure CLI are not supported. | ||
|
||
![Linux App Service SSH](./media/configure-linux-open-ssh-session/app-service-linux-ssh.png) | ||
|
||
::: zone-end | ||
|
||
::: zone pivot="container-linux" | ||
|
||
[Secure Shell (SSH)](https://wikipedia.org/wiki/Secure_Shell) can be used to execute administrative commands remotely to a container. App Service provides SSH support directly into an app hosted in a Linux container (built-in or custom). | ||
|
||
The built-in Linux containers already have the necessary configuration to enable SSH sessions. Linux custom containers require additional configurations to enable SSH sessions. See [Enable SSH](configure-custom-container.md?pivots=container-linux#enable-ssh). | ||
|
||
![Linux App Service SSH](./media/configure-linux-open-ssh-session/app-service-linux-ssh.png) | ||
|
||
You can also connect to the container directly from your local development machine using SSH and SFTP. | ||
|
||
::: zone-end | ||
|
||
## Open SSH session in browser | ||
|
||
[!INCLUDE [Open SSH session in browser](../../includes/app-service-web-ssh-connect-no-h.md)] | ||
|
||
## Use SSH support with custom Docker images | ||
|
||
See [Configure SSH in a custom container](configure-custom-container.md#enable-ssh). | ||
|
||
## Open SSH session from remote shell | ||
::: zone pivot="container-linux" | ||
|
||
> [!NOTE] | ||
> This feature is currently in Preview. | ||
> | ||
## Open SSH session with Azure CLI | ||
|
||
Using TCP tunneling you can create a network connection between your development machine and Web App for Containers over an authenticated WebSocket connection. It enables you to open an SSH session with your container running in App Service from the client of your choice. | ||
Using TCP tunneling you can create a network connection between your development machine and Linux containers over an authenticated WebSocket connection. It enables you to open an SSH session with your container running in App Service from the client of your choice. | ||
|
||
To get started, you need to install [Azure CLI](/cli/azure/install-azure-cli). To see how it works without installing Azure CLI, open [Azure Cloud Shell](../cloud-shell/overview.md). | ||
To get started, you need to install [Azure CLI](/cli/azure/install-azure-cli). To see how it works without installing Azure CLI, open [Azure Cloud Shell](../cloud-shell/overview.md). | ||
|
||
Open a remote connection to your app using the [az webapp create-remote-connection](/cli/azure/webapp#az-webapp-create-remote-connection) command. Specify _\<subscription-id>_, _\<group-name>_ and _\<app-name>_ for your app. | ||
|
||
|
@@ -66,15 +66,24 @@ az webapp create-remote-connection --subscription <subscription-id> --resource-g | |
The command output gives you the information you need to open an SSH session. | ||
```output | ||
Port 21382 is open | ||
Verifying if app is running.... | ||
App is running. Trying to establish tunnel connection... | ||
Opening tunnel on addr: 127.0.0.1 | ||
Opening tunnel on port: <port-output> | ||
SSH is available { username: root, password: Docker! } | ||
Start your favorite client and connect to port 21382 | ||
Ctrl + C to close | ||
``` | ||
Open an SSH session with your container with the client of your choice, using the local port. The following example uses the default [ssh](https://ss64.com/bash/ssh.html) command: | ||
Open an SSH session with your container with the client of your choice, using the local port provided in the output (`<port-output>`). For example, with the linux [ssh](https://ss64.com/bash/ssh.html) command, you can run a single command like `java -version`: | ||
|
||
```bash | ||
ssh [email protected] -m hmac-sha1 -p <port-output> java -version | ||
``` | ||
Or, to enter a full SSH session, just run: | ||
|
||
```bash | ||
ssh [email protected] -p <port> | ||
ssh [email protected] -m hmac-sha1 -p <port-output> | ||
``` | ||
|
||
When being prompted, type `yes` to continue connecting. You are then prompted for the password. Use `Docker!`, which was shown to you earlier. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+90.8 KB
...dia/tutorial-python-postgresql-app-django/azure-portal-clean-up-resources-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+41.5 KB
...dia/tutorial-python-postgresql-app-django/azure-portal-clean-up-resources-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added
BIN
+150 KB
...ia/tutorial-python-postgresql-app-django/azure-portal-create-app-postgres-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added
BIN
+28.5 KB
...orial-python-postgresql-app-django/azure-portal-deploy-sample-code-django-1.png
Oops, something went wrong.
Binary file added
BIN
+152 KB
...orial-python-postgresql-app-django/azure-portal-deploy-sample-code-django-2.png
Oops, something went wrong.
Binary file added
BIN
+193 KB
...orial-python-postgresql-app-django/azure-portal-deploy-sample-code-django-3.png
Oops, something went wrong.
Binary file added
BIN
+204 KB
...orial-python-postgresql-app-django/azure-portal-deploy-sample-code-django-4.png
Oops, something went wrong.
Binary file added
BIN
+21.2 KB
...orial-python-postgresql-app-django/azure-portal-deploy-sample-code-django-5.png
Oops, something went wrong.
Binary file added
BIN
+61.5 KB
...orial-python-postgresql-app-django/azure-portal-deploy-sample-code-django-6.png
Oops, something went wrong.
Binary file added
BIN
+106 KB
...orial-python-postgresql-app-django/azure-portal-deploy-sample-code-django-7.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+119 KB
...tutorial-python-postgresql-app-django/azure-portal-run-sample-application-1.png
Oops, something went wrong.
Binary file added
BIN
+183 KB
...tutorial-python-postgresql-app-django/azure-portal-run-sample-application-2.png
Oops, something went wrong.
Binary file added
BIN
+274 KB
...tutorial-python-postgresql-app-django/azure-portal-run-sample-application-3.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added
BIN
+121 KB
...orial-python-postgresql-app-django/azure-portal-secure-connection-secrets-8.png
Oops, something went wrong.
Binary file added
BIN
+135 KB
...orial-python-postgresql-app-django/azure-portal-secure-connection-secrets-9.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
Binary file added
BIN
+53.1 KB
...es/app-service/media/tutorial-python-postgresql-app-django/github-copilot-1.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
Binary file added
BIN
+69.9 KB
...ervice/media/tutorial-python-postgresql-app-flask/azure-portal-browse-app-1.png
Oops, something went wrong.
Binary file added
BIN
+36.3 KB
...ervice/media/tutorial-python-postgresql-app-flask/azure-portal-browse-app-2.png
Oops, something went wrong.
Binary file added
BIN
+91.4 KB
...edia/tutorial-python-postgresql-app-flask/azure-portal-clean-up-resources-1.png
Oops, something went wrong.
Binary file added
BIN
+41.5 KB
...edia/tutorial-python-postgresql-app-flask/azure-portal-clean-up-resources-2.png
Oops, something went wrong.
Binary file added
BIN
+67.4 KB
...edia/tutorial-python-postgresql-app-flask/azure-portal-clean-up-resources-3.png
Oops, something went wrong.
Binary file added
BIN
+89.4 KB
...dia/tutorial-python-postgresql-app-flask/azure-portal-create-app-postgres-1.png
Oops, something went wrong.
Binary file added
BIN
+127 KB
...dia/tutorial-python-postgresql-app-flask/azure-portal-create-app-postgres-2.png
Oops, something went wrong.
Binary file added
BIN
+44.8 KB
...dia/tutorial-python-postgresql-app-flask/azure-portal-create-app-postgres-3.png
Oops, something went wrong.
Binary file added
BIN
+28.5 KB
...utorial-python-postgresql-app-flask/azure-portal-deploy-sample-code-flask-1.png
Oops, something went wrong.
Binary file added
BIN
+62 KB
...utorial-python-postgresql-app-flask/azure-portal-deploy-sample-code-flask-2.png
Oops, something went wrong.
Binary file added
BIN
+181 KB
...utorial-python-postgresql-app-flask/azure-portal-deploy-sample-code-flask-3.png
Oops, something went wrong.
Binary file added
BIN
+168 KB
...utorial-python-postgresql-app-flask/azure-portal-deploy-sample-code-flask-4.png
Oops, something went wrong.
Binary file added
BIN
+19.1 KB
...utorial-python-postgresql-app-flask/azure-portal-deploy-sample-code-flask-5.png
Oops, something went wrong.
Binary file added
BIN
+25.2 KB
...utorial-python-postgresql-app-flask/azure-portal-deploy-sample-code-flask-6.png
Oops, something went wrong.
Binary file added
BIN
+96.8 KB
...utorial-python-postgresql-app-flask/azure-portal-deploy-sample-code-flask-7.png
Oops, something went wrong.
File renamed without changes
File renamed without changes
Binary file added
BIN
+107 KB
.../tutorial-python-postgresql-app-flask/azure-portal-run-sample-application-1.png
Oops, something went wrong.
Binary file added
BIN
+160 KB
.../tutorial-python-postgresql-app-flask/azure-portal-run-sample-application-2.png
Oops, something went wrong.
Binary file added
BIN
+198 KB
.../tutorial-python-postgresql-app-flask/azure-portal-run-sample-application-3.png
Oops, something went wrong.
Binary file added
BIN
+51.6 KB
...torial-python-postgresql-app-flask/azure-portal-secure-connection-secrets-1.png
Oops, something went wrong.
Binary file added
BIN
+43.6 KB
...torial-python-postgresql-app-flask/azure-portal-secure-connection-secrets-2.png
Oops, something went wrong.
Binary file added
BIN
+60.7 KB
...torial-python-postgresql-app-flask/azure-portal-secure-connection-secrets-3.png
Oops, something went wrong.
Binary file added
BIN
+88.4 KB
...torial-python-postgresql-app-flask/azure-portal-secure-connection-secrets-4.png
Oops, something went wrong.
Binary file added
BIN
+17.7 KB
...torial-python-postgresql-app-flask/azure-portal-secure-connection-secrets-5.png
Oops, something went wrong.
Binary file added
BIN
+37.8 KB
...torial-python-postgresql-app-flask/azure-portal-secure-connection-secrets-6.png
Oops, something went wrong.
Binary file added
BIN
+37 KB
...torial-python-postgresql-app-flask/azure-portal-secure-connection-secrets-7.png
Oops, something went wrong.
Binary file added
BIN
+82.8 KB
.../tutorial-python-postgresql-app-flask/azure-portal-stream-diagnostic-logs-1.png
Oops, something went wrong.
Binary file added
BIN
+128 KB
.../tutorial-python-postgresql-app-flask/azure-portal-stream-diagnostic-logs-2.png
Oops, something went wrong.
Binary file added
BIN
+102 KB
...les/app-service/media/tutorial-python-postgresql-app-flask/github-copilot-1.png
Oops, something went wrong.
Binary file added
BIN
+41.1 KB
...torial-python-postgresql-app-flask/python-postgresql-app-architecture-240px.png
Oops, something went wrong.
Binary file added
BIN
+66 KB
...dia/tutorial-python-postgresql-app-flask/python-postgresql-app-architecture.png
Oops, something went wrong.
Binary file removed
BIN
-8.27 KB
articles/app-service/media/tutorial-python-postgresql-app/az-webapp-up-output.png
Diff not rendered.
Binary file removed
BIN
-58.1 KB
articles/app-service/media/tutorial-python-postgresql-app/azd-resources-small.png
Diff not rendered.
Binary file removed
BIN
-95.4 KB
articles/app-service/media/tutorial-python-postgresql-app/azd-resources.png
Diff not rendered.
Binary file removed
BIN
-82.2 KB
...ia/tutorial-python-postgresql-app/azure-portal-app-service-app-setting-save.png
Diff not rendered.
Binary file removed
BIN
-67.7 KB
...e/media/tutorial-python-postgresql-app/azure-portal-app-service-app-setting.png
Diff not rendered.
Binary file removed
BIN
-73.4 KB
...vice/media/tutorial-python-postgresql-app/azure-portal-clean-up-resources-1.png
Diff not rendered.
Binary file removed
BIN
-41.6 KB
...vice/media/tutorial-python-postgresql-app/azure-portal-clean-up-resources-2.png
Diff not rendered.
Binary file removed
BIN
-139 KB
...ia/tutorial-python-postgresql-app/azure-portal-create-app-postgres-2-django.png
Diff not rendered.
Binary file removed
BIN
-113 KB
...ice/media/tutorial-python-postgresql-app/azure-portal-create-app-postgres-2.png
Diff not rendered.
Binary file removed
BIN
-95 KB
...dia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-django-1.png
Diff not rendered.
Binary file removed
BIN
-65.8 KB
...dia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-django-2.png
Diff not rendered.
Binary file removed
BIN
-208 KB
...dia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-django-3.png
Diff not rendered.
Binary file removed
BIN
-23 KB
...dia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-django-4.png
Diff not rendered.
Binary file removed
BIN
-125 KB
...dia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-django-5.png
Diff not rendered.
Binary file removed
BIN
-44.7 KB
...dia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-django-6.png
Diff not rendered.
Binary file removed
BIN
-98.2 KB
...dia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-django-7.png
Diff not rendered.
Binary file removed
BIN
-88.8 KB
...edia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-flask-1.png
Diff not rendered.
Binary file removed
BIN
-63.5 KB
...edia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-flask-2.png
Diff not rendered.
Binary file removed
BIN
-133 KB
...edia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-flask-3.png
Diff not rendered.
Binary file removed
BIN
-21 KB
...edia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-flask-4.png
Diff not rendered.
Binary file removed
BIN
-161 KB
...edia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-flask-5.png
Diff not rendered.
Binary file removed
BIN
-74.3 KB
...edia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-flask-6.png
Diff not rendered.
Binary file removed
BIN
-91 KB
...edia/tutorial-python-postgresql-app/azure-portal-deploy-sample-code-flask-7.png
Diff not rendered.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.