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/bastion/connect-native-client-windows.md
+32-7Lines changed: 32 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,18 +11,16 @@ ms.author: cherylmc
11
11
ms.custom: ignite-fall-2021
12
12
---
13
13
14
-
# Connect to a VM using Bastion and the native client on your Windows computer (Preview)
14
+
# Connect to a VM using Bastion and the native client on your workstation (Preview)
15
15
16
-
Azure Bastion now offers support for connecting to target VMs in Azure using a native RDP or SSH client on your Windows workstation. This feature lets you connect to your target VMs via Bastion using Azure CLI and expands your sign-in options to include local SSH key pair and Azure Active Directory (Azure AD). This article helps you configure Bastion with the required settings, and then connect to a VM in the VNet. For more information, see the [What is Azure Bastion?](bastion-overview.md).
16
+
Azure Bastion now offers support for connecting to target VMs in Azure using a native RDP or SSH client on your local workstation. This feature lets you connect to your target VMs via Bastion using Azure CLI and expands your sign-in options to include local SSH key pair and Azure Active Directory (Azure AD). This article helps you configure Bastion with the required settings, and then connect to a VM in the VNet. For more information, see the [What is Azure Bastion?](bastion-overview.md).
17
17
18
18
> [!NOTE]
19
19
> This configuration requires the Standard SKU for Azure Bastion.
20
20
>
21
21
22
22
Currently, this feature has the following limitations:
23
23
24
-
* Native client support is not yet available for use from your local Linux workstation. If you are connecting to your target VM from a Linux workstation, use the Azure portal experience.
25
-
26
24
* Signing in using an SSH private key stored in Azure Key Vault is not supported with this feature. Download your private key to a file on your local machine before signing in to your Linux VM using an SSH key pair.
27
25
28
26
## <aname="prereq"></a>Prerequisites
@@ -84,9 +82,9 @@ To connect to a Windows VM using native client support, you must have the follow
84
82
* Inbound port: RDP (3389) *or*
85
83
* Inbound port: Custom value (you will then need to specify this custom port when you connect to the VM via Azure Bastion)
86
84
87
-
## <aname="connect"></a>Connect to a VM
85
+
## <aname="connect"></a>Connect to a VM from a Windows local workstation
88
86
89
-
This section helps you connect to your virtual machine. Use the steps that correspond to the type of VM you want to connect to.
87
+
This section helps you connect to your virtual machine from a Windows local workstation. Use the steps that correspond to the type of VM you want to connect to.
90
88
91
89
1. Sign in to your Azure account and select your subscription containing your Bastion resource.
92
90
@@ -121,6 +119,10 @@ This section helps you connect to your virtual machine. Use the steps that corre
> VM sessions using the **az network bastion ssh** command do not support file transfer. To use file transfer with SSH over Bastion, please see the section on the **az network bastion tunnel** command further below.
125
+
>
124
126
125
127
### Connect to a Windows VM
126
128
@@ -142,7 +144,30 @@ This section helps you connect to your virtual machine. Use the steps that corre
1. Once you sign in to your target VM, the native client on your workstation will open up with your VM session; MSTSC for RDP sessions, and SSH CLI extension for SSH sessions.
147
+
1. Once you sign in to your target VM, the native client on your workstation will open up with your VM session; **MSTSC** for RDP sessions, and **SSH CLI extension (az ssh)** for SSH sessions.
148
+
149
+
## Connect to a VM using the *az network bastion tunnel* command
150
+
151
+
This section helps you connect to your virtual machine using the *az network bastion tunnel* command, which allows you to:
152
+
* Use native clients on *non*-Windows local workstations (ex: a Linux PC)
153
+
* Use a native client of your choice
154
+
* Set up concurrent VM sessions with Bastion
155
+
* Access file transfer for SSH sessions
156
+
157
+
1. Sign in to your Azure account and select your subscription containing your Bastion resource.
158
+
159
+
```azurecli-interactive
160
+
az login
161
+
az account list
162
+
az account set --subscription "<subscription ID>"
163
+
```
164
+
165
+
2. Open the tunnel to your targt VM using the following command:
0 commit comments