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/virtual-machines/ssh-keys-portal.md
+16-8Lines changed: 16 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,15 @@ ms.author: mattmcinnes
14
14
15
15
**Applies to:**:heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets :heavy_check_mark: Uniform scale sets
16
16
17
-
If you frequently use the portal to deploy Linux VMs, you can simplify using SSH keys by integrating them into Azure. You can create SSH keys when you first create a VM, create SSH keys in the Azure portal seperate from a VM, or create them externally and upload them to Azure. Your keys stored in Azure can be reused in a variety of applications to fit your organizations needs.
17
+
If you frequently use the portal to deploy Linux VMs, you can simplify using SSH keys by integrating them into Azure. There are several ways to create SSH keys for use with Azure.
18
+
19
+
- You can create SSH keys when you first create a VM. These keys are not tied to a specific VM and can be used in future applications.
20
+
21
+
- You can create SSH keys in the Azure portal separate from a VM. These can be applied to both new and old VMs.
22
+
23
+
- You can create SSH keys externally and upload them for use in Azure.
24
+
25
+
You can reuse your stored keys in a variety of applications to fit your organization's needs.
18
26
19
27
For more detailed information about creating and using SSH keys with Linux VMs, see [Use SSH keys to connect to Linux VMs](./linux/ssh-from-windows.md).
20
28
@@ -30,21 +38,21 @@ For more detailed information about creating and using SSH keys with Linux VMs,
30
38
31
39
1. In **Resource group** select **Create new** to create a new resource group to store your keys. Type a name for your resource group and select **OK**.
32
40
33
-
1. In **Region** select a region to store your keys. You can use the keys in any region, this is just the region where they will be stored.
41
+
1. In **Region** select a region to store your keys. You can use the keys in any region, this option is just the region where they're stored.
34
42
35
43
1. Type a name for your key in **Key pair name**.
36
44
37
45
1. In **SSH public key source**, select **Generate public key source**.
38
46
39
-
1. When you are done, select **Review + create**.
47
+
1. When you're done, select **Review + create**.
40
48
41
49
1. After it passes validation, select **Create**.
42
50
43
-
1. You will then get a pop-up window to, select **Download private key and create resource**. This will download the SSH key as a .pem file.
51
+
1. You'll get a pop-up window to, select **Download private key and create resource**. This downloads the SSH key as a .pem file.
44
52
45
53
:::image type="content" source="./media/ssh-keys/download-key.png" alt-text="Download the private key as a .pem file":::
46
54
47
-
1. Once the .pem file is downloaded, you might want to move it somewhere on your computer where it is easy to point to from your SSH client.
55
+
1. Once you have downloaded the .pem file, you might want to move it somewhere on your computer where it is easy to point to from your SSH client.
48
56
49
57
50
58
## Connect to the VM
@@ -72,7 +80,7 @@ You can also upload a public SSH key to store in Azure. For information about ho
72
80
73
81
1. In **Resource group** select **Create new** to create a new resource group to store your keys. Type a name for your resource group and select **OK**.
74
82
75
-
1. In **Region** select a region to store your keys. You can use the keys in any region, this is just the region where they will be stored.
83
+
1. In **Region** select a region to store your keys. You can use the keys in any region, this option is just the region where they're stored.
76
84
77
85
1. Type a name for your key in **Key pair name**.
78
86
@@ -86,7 +94,7 @@ Once the key has been uploaded, you can choose to use it when you create a VM.
86
94
87
95
## List keys
88
96
89
-
SSH keys created in the portal are stored as resources, so you can filter your resources view to see all of them.
97
+
Your SSH keys created in the portal are stored as resources, so you can filter your resources view to see all of them.
90
98
91
99
1. In the portal, select **All resource**.
92
100
1. In the filters, select **Type**, unselect the **Select all** option to clear the list.
@@ -96,7 +104,7 @@ SSH keys created in the portal are stored as resources, so you can filter your r
96
104
97
105
## Get the public key
98
106
99
-
If you need your public key, you can easily copy it from the portal page for the key. Just list your keys (using the process in the last section) then select a key from the list. The page for your key will open and you can click the **Copy to clipboard** icon next to the key to copy it.
107
+
If you need your public key, you can easily copy it from the portal page for the key. Just list your keys (using the process in the last section) then select a key from the list. The page for your key opens and you can click the **Copy to clipboard** icon next to the key to copy it.
0 commit comments