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-azure-cli.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,27 +1,27 @@
1
1
---
2
2
title: Create SSH keys with the Azure CLI
3
-
description: Learn how to generate and store SSH keys with the Azure CLI for connecting to Linux VMs.
3
+
description: Learn how to generate and store SSH keys, before creating a VM, with the Azure CLI for connecting to Linux VMs.
4
4
author: cynthn
5
5
ms.collection: linux
6
6
ms.service: virtual-machines
7
7
ms.workload: infrastructure-services
8
8
ms.custom: devx-track-azurecli
9
9
ms.topic: article
10
-
ms.date: 11/17/2021
10
+
ms.date: 04/13/2023
11
11
ms.author: cynthn
12
12
---
13
13
14
14
# Generate and store SSH keys with the Azure CLI
15
15
16
16
**Applies to:**:heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets :heavy_check_mark: Uniform scale sets
17
17
18
-
You can create SSH keys before creating a VM, and store them in Azure. Each newly created SSH key is also stored locally.
18
+
You can create SSH keys before creating a VM and store them in Azure. Each newly created SSH key is also stored locally.
19
19
20
20
If you have existing SSH keys, you can upload and store them in Azure for reuse.
21
21
22
-
For a more detailed overview of SSH, see [Detailed steps: Create and manage SSH keys for authentication to a Linux VM in Azure](./linux/create-ssh-keys-detailed.md).
22
+
For more information, see [Detailed steps: Create and manage SSH keys for authentication to a Linux VM in Azure](./linux/create-ssh-keys-detailed.md).
23
23
24
-
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).
24
+
For more information on how to create and use SSH keys with Linux VMs, see [Use SSH keys to connect to Linux VMs](./linux/ssh-from-windows.md).
25
25
26
26
## Generate new keys
27
27
@@ -56,7 +56,7 @@ For example, enter: `ssh -i /home/user/.ssh/mySSHKey [email protected]`
56
56
57
57
## Upload an SSH key
58
58
59
-
You can upload a public SSH key to store in Azure.
59
+
You can upload a public SSH key to store in Azure.
60
60
61
61
Use the [az sshkey create](/cli/azure/sshkey#az-sshkey-create) command to upload an SSH public key by specifying its file:
62
62
@@ -82,4 +82,4 @@ az sshkey show --name "mySSHKey" --resource-group "myResourceGroup"
82
82
83
83
## Next steps
84
84
85
-
To learn more about using SSH keys with Azure VMs, see [Use SSH keys to connect to Linux VMs](./linux/ssh-from-windows.md).
85
+
To learn more about how to use SSH keys with Azure VMs, see [Use SSH keys to connect to Linux VMs](./linux/ssh-from-windows.md).
0 commit comments