Skip to content

Commit ef40af9

Browse files
Merge pull request #294375 from AbdullahBell/bastion-image-deletion-article
Networking: Bastion: Reducing screenshot usage: 4 articles
2 parents 6f1b028 + eb07ec1 commit ef40af9

File tree

4 files changed

+96
-111
lines changed

4 files changed

+96
-111
lines changed

articles/bastion/bastion-connect-vm-ssh-linux.md

Lines changed: 50 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,8 @@ In order to connect to the Linux VM via SSH, you must have the following ports o
4747

4848
1. In the Azure portal, go to the virtual machine to which you want to connect. At the top of the virtual machine **Overview** page, select **Connect**, then select **Connect via Bastion** from the dropdown. This opens the **Bastion** page. You can go to the Bastion page directly in the left pane.
4949

50-
:::image type="content" source="./media/bastion-connect-vm-ssh-linux/bastion.png" alt-text="Screenshot shows the Overview page for a virtual machine." lightbox="./media/bastion-connect-vm-ssh-linux/bastion.png":::
51-
5250
1. On the **Bastion** page, the settings that you can configure depend on the Bastion [SKU](bastion-overview.md#sku) tier that your bastion host has been configured to use.
5351

54-
:::image type="content" source="./media/bastion-connect-vm-ssh-linux/connection-settings.png" alt-text="Screenshot shows connection settings for SKUs higher than the Basic SKU." lightbox="./media/bastion-connect-vm-ssh-linux/connection-settings.png":::
55-
5652
* If you're using a SKU higher than the Basic SKU, **Connection Settings** values (ports and protocols) are visible and can be configured.
5753

5854
* If you're using the Basic SKU or Developer SKU, you can't configure **Connection Settings** values. Instead, your connection uses the following default settings: SSH and port 22.
@@ -84,17 +80,15 @@ Prerequisites:
8480

8581
Use the following steps to authenticate using Microsoft Entra ID.
8682

87-
:::image type="content" source="./media/bastion-connect-vm-ssh-linux/entra-id.png" alt-text="Screenshot shows authentication type as Microsoft Entra ID." lightbox="./media/bastion-connect-vm-ssh-linux/entra-id.png":::
88-
8983
1. To authenticate using Microsoft Entra ID, configure the following settings.
9084

91-
* **Connection Settings**: Only available for SKUs higher than the Basic SKU.
92-
93-
* **Protocol**: Select SSH.
94-
* **Port**: Specify the port number.
95-
96-
* **Authentication type**: Select **Microsoft Entra ID** from the dropdown.
97-
85+
| Setting | Description |
86+
|------------------------|-----------------------------------------------------------------------------|
87+
| **Connection Settings**| Only available for SKUs higher than the Basic SKU. |
88+
| **Protocol** | Select SSH. |
89+
| **Port** | Specify the port number. |
90+
| **Authentication type**| Select **Microsoft Entra ID** from the dropdown. |
91+
9892
1. To work with the VM in a new browser tab, select **Open in new browser tab**.
9993

10094
1. Click **Connect** to connect to the VM.
@@ -103,18 +97,16 @@ Use the following steps to authenticate using Microsoft Entra ID.
10397

10498
Use the following steps to authenticate using username and password.
10599

106-
:::image type="content" source="./media/bastion-connect-vm-ssh-linux/password.png" alt-text="Screenshot shows Password authentication." lightbox="./media/bastion-connect-vm-ssh-linux/password.png":::
107-
108100
1. To authenticate using a username and password, configure the following settings.
109101

110-
* **Connection Settings**: Only available for SKUs higher than the Basic SKU.
111-
112-
* **Protocol**: Select SSH.
113-
* **Port**: Specify the port number.
114-
115-
* **Authentication type**: Select **Password** from the dropdown.
116-
* **Username**: Enter the username.
117-
* **Password**: Enter the **Password**.
102+
| Setting | Description |
103+
|------------------------|-----------------------------------------------------------------------------|
104+
| **Connection Settings**| Only available for SKUs higher than the Basic SKU. |
105+
| **Protocol** | Select SSH. |
106+
| **Port** | Specify the port number. |
107+
| **Authentication type**| Select **Password** from the dropdown. |
108+
| **Username** | Enter the username. |
109+
| **Password** | Enter the **Password**. |
118110

119111
1. To work with the VM in a new browser tab, select **Open in new browser tab**.
120112

@@ -124,25 +116,24 @@ Use the following steps to authenticate using username and password.
124116

125117
Use the following steps to authenticate using a password from Azure Key Vault.
126118

127-
:::image type="content" source="./media/bastion-connect-vm-ssh-linux/password-key-vault.png" alt-text="Screenshot shows password from Azure Key Vault authentication." lightbox="./media/bastion-connect-vm-ssh-linux/password-key-vault.png":::
128-
129119
1. To authenticate using a password from Azure Key Vault, configure the following settings.
130120

131-
* **Connection Settings**: Only available for SKUs higher than the Basic SKU.
121+
| Setting | Description |
122+
|------------------------|-----------------------------------------------------------------------------|
123+
| **Connection Settings**| Only available for SKUs higher than the Basic SKU. |
124+
| **Protocol** | Select SSH. |
125+
| **Port** | Specify the port number. |
126+
| **Authentication type**| Select **Password from Azure Key Vault** from the dropdown. |
127+
| **Username** | Enter the username. |
128+
| **Subscription** | Select the subscription. |
129+
| **Azure Key Vault** | Select the Key Vault. |
130+
| **Azure Key Vault Secret** | Select the Key Vault secret containing the value of your SSH private key.|
132131

133-
* **Protocol**: Select SSH.
134-
* **Port**: Specify the port number.
135-
* **Authentication type**: Select **Password from Azure Key Vault** from the dropdown.
136-
* **Username**: Enter the username.
137-
* **Subscription**: Select the subscription.
138-
* **Azure Key Vault**: Select the Key Vault.
139-
* **Azure Key Vault Secret**: Select the Key Vault secret containing the value of your SSH private key.
132+
* If you didn’t set up an Azure Key Vault resource, see [Create a key vault](/azure/key-vault/secrets/quick-create-powershell) and store your SSH private key as the value of a new Key Vault secret.
140133

141-
* If you didn’t set up an Azure Key Vault resource, see [Create a key vault](/azure/key-vault/secrets/quick-create-powershell) and store your SSH private key as the value of a new Key Vault secret.
134+
* Make sure you have **List** and **Get** access to the secrets stored in the Key Vault resource. To assign and modify access policies for your Key Vault resource, see [Assign a Key Vault access policy](/azure/key-vault/general/assign-access-policy-portal).
142135

143-
* Make sure you have **List** and **Get** access to the secrets stored in the Key Vault resource. To assign and modify access policies for your Key Vault resource, see [Assign a Key Vault access policy](/azure/key-vault/general/assign-access-policy-portal).
144-
145-
* Store your SSH private key as a secret in Azure Key Vault using the **PowerShell** or **Azure CLI** experience. Storing your private key via the Azure Key Vault portal experience interferes with the formatting and result in unsuccessful login. If you did store your private key as a secret using the portal experience and no longer have access to the original private key file, see [Update SSH key](/azure/virtual-machines/extensions/vmaccess-linux#update-ssh-key) to update access to your target VM with a new SSH key pair.
136+
* Store your SSH private key as a secret in Azure Key Vault using the **PowerShell** or **Azure CLI** experience. Storing your private key via the Azure Key Vault portal experience interferes with the formatting and result in unsuccessful login. If you did store your private key as a secret using the portal experience and no longer have access to the original private key file, see [Update SSH key](/azure/virtual-machines/extensions/vmaccess-linux#update-ssh-key) to update access to your target VM with a new SSH key pair.
146137

147138
1. To work with the VM in a new browser tab, select **Open in new browser tab**.
148139

@@ -152,18 +143,17 @@ Use the following steps to authenticate using a password from Azure Key Vault.
152143

153144
Use the following steps to authenticate using an SSH private key from a local file.
154145

155-
:::image type="content" source="./media/bastion-connect-vm-ssh-linux/private-key-file.png" alt-text="Screenshot shows private key from local file authentication." lightbox="./media/bastion-connect-vm-ssh-linux/private-key-file.png":::
156-
157146
1. To authenticate using a private key from a local file, configure the following settings.
158147

159-
* **Connection Settings**: Only available for SKUs higher than the Basic SKU.
160-
161-
* **Protocol**: Select SSH.
162-
* **Port**: Specify the port number.
163-
* **Authentication type**: Select **SSH Private Key from Local File** from the dropdown.
164-
* **Username**: Enter the username.
165-
* **Local File**: Select the local file.
166-
* **SSH Passphrase**: Enter the SSH passphrase if necessary.
148+
| Setting | Description |
149+
|------------------------|-----------------------------------------------------------------------------|
150+
| **Connection Settings**| Only available for SKUs higher than the Basic SKU. |
151+
| **Protocol** | Select SSH. |
152+
| **Port** | Specify the port number. |
153+
| **Authentication type**| Select **SSH Private Key from Local File** from the dropdown. |
154+
| **Username** | Enter the username. |
155+
| **Local File** | Select the local file. |
156+
| **SSH Passphrase** | Enter the SSH passphrase if necessary. |
167157

168158
1. To work with the VM in a new browser tab, select **Open in new browser tab**.
169159

@@ -173,26 +163,27 @@ Use the following steps to authenticate using an SSH private key from a local fi
173163

174164
Use the following steps to authenticate using a private key stored in Azure Key Vault.
175165

176-
:::image type="content" source="./media/bastion-connect-vm-ssh-linux/ssh-key-vault.png" alt-text="Screenshot shows Private key stored in Azure Key Vault authentication." lightbox="./media/bastion-connect-vm-ssh-linux/ssh-key-vault.png":::
177166

178167
1. To authenticate using a private key stored in Azure Key Vault, configure the following settings. For the Basic SKU, connection settings can't be configured and will instead use the default connection settings: SSH and port 22.
179168

180-
* **Connection Settings**: Only available for SKUs higher than the Basic SKU.
169+
| Setting | Description |
170+
|------------------------|-----------------------------------------------------------------------------|
171+
| **Connection Settings**| Only available for SKUs higher than the Basic SKU. |
172+
| **Protocol** | Select SSH. |
173+
| **Port** | Specify the port number. |
174+
| **Authentication type**| Select **SSH Private Key from Azure Key Vault** from the dropdown. |
175+
| **Username** | Enter the username. |
176+
| **Subscription** | Select the subscription. |
177+
| **Azure Key Vault** | Select the Key Vault. |
178+
| **Azure Key Vault Secret** | Select the Key Vault secret containing the value of your SSH private key.|
181179

182-
* **Protocol**: Select SSH.
183-
* **Port**: Specify the port number.
184-
* **Authentication type**: Select **SSH Private Key from Azure Key Vault** from the dropdown.
185-
* **Username**: Enter the username.
186-
* **Subscription**: Select the subscription.
187-
* **Azure Key Vault**: Select the Key Vault.
188180

189-
* If you didn’t set up an Azure Key Vault resource, see [Create a key vault](/azure/key-vault/secrets/quick-create-powershell) and store your SSH private key as the value of a new Key Vault secret.
190181

191-
* Make sure you have **List** and **Get** access to the secrets stored in the Key Vault resource. To assign and modify access policies for your Key Vault resource, see [Assign a Key Vault access policy](/azure/key-vault/general/assign-access-policy-portal).
182+
* If you didn’t set up an Azure Key Vault resource, see [Create a key vault](/azure/key-vault/secrets/quick-create-powershell) and store your SSH private key as the value of a new Key Vault secret.
192183

193-
* Store your SSH private key as a secret in Azure Key Vault using the **PowerShell** or **Azure CLI** experience. Storing your private key via the Azure Key Vault portal experience interferes with the formatting and result in unsuccessful login. If you did store your private key as a secret using the portal experience and no longer have access to the original private key file, see [Update SSH key](/azure/virtual-machines/extensions/vmaccess-linux#update-ssh-key) to update access to your target VM with a new SSH key pair.
184+
* Make sure you have **List** and **Get** access to the secrets stored in the Key Vault resource. To assign and modify access policies for your Key Vault resource, see [Assign a Key Vault access policy](/azure/key-vault/general/assign-access-policy-portal).
194185

195-
* **Azure Key Vault Secret**: Select the Key Vault secret containing the value of your SSH private key.
186+
* Store your SSH private key as a secret in Azure Key Vault using the **PowerShell** or **Azure CLI** experience. Storing your private key via the Azure Key Vault portal experience interferes with the formatting and result in unsuccessful login. If you did store your private key as a secret using the portal experience and no longer have access to the original private key file, see [Update SSH key](/azure/virtual-machines/extensions/vmaccess-linux#update-ssh-key) to update access to your target VM with a new SSH key pair.
196187

197188
1. To work with the VM in a new browser tab, select **Open in new browser tab**.
198189

0 commit comments

Comments
 (0)