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
[](https://portal.azure.com/?Microsoft_Azure_CloudNative_clientoptimizations=false&feature.canmodifyextensions=true#view/Microsoft_Azure_CloudNative/SubscriptionSelectionPage.ReactView/tutorialKey/CreateLinuxVMAndSSH)
In order to run commands in Azure using the CLI you'll need to login first. This is done using the `az login` command.
32
+
In order to run commands in Azure using the CLI, you need to log in first. This is done using the `az login` command.
33
33
34
34
## Create a resource group
35
35
@@ -58,7 +58,7 @@ Results:
58
58
59
59
## Create the virtual machine
60
60
61
-
To create a VM in this resource group we need to use the `vm create` command. In the code example below, we have provided the `--generate-ssh-keys` flag, which will cause the CLI to look for an available ssh key in `~/.ssh`. If one is found, it will be used. If not, one will be generated and stored in `~/.ssh`. We also provide the `--public-ip-sku Standard` flag to ensure that the machine is accessible via a public IP address. Finally, we deploy the latest `Ubuntu 22.04` image.
61
+
To create a VM in this resource group, we need to use the `vm create` command. In the following code example, we provided the `--generate-ssh-keys` flag, which causes the CLI to look for an available ssh key in `~/.ssh`. If one is found, it is used. If not, one is generated and stored in `~/.ssh`. We also provide the `--public-ip-sku Standard` flag to ensure that the machine is accessible via a public IP address. Finally, we deploy the latest `Ubuntu 22.04` image.
62
62
63
63
All other values are configured using environment variables.
64
64
@@ -90,9 +90,9 @@ Results:
90
90
}
91
91
```
92
92
93
-
## Enable Azure AD login for a Linux virtual machine in Azure
93
+
## Enable Azure AD Login for a Linux virtual machine in Azure
94
94
95
-
The following code example deploys a Linux VM and then installs the extension to enable an Azure AD login for a Linux VM. VM extensions are small applications that provide post-deployment configuration and automation tasks on Azure virtual machines.
95
+
The following code example deploys a Linux VM and then installs the extension to enable an Azure AD Login for a Linux VM. VM extensions are small applications that provide post-deployment configuration and automation tasks on Azure virtual machines.
96
96
97
97
```bash
98
98
az vm extension set \
@@ -113,15 +113,15 @@ export IP_ADDRESS=$(az vm show --show-details --resource-group $MY_RESOURCE_GROU
113
113
## SSH into the VM
114
114
115
115
<!--## Export the SSH configuration for use with SSH clients that support OpenSSH & SSH into the VM.
116
-
Login to Azure Linux VMs with Azure AD supports exporting the OpenSSH certificate and configuration. That means you can use any SSH clients that support OpenSSH-based certificates to sign in through Azure AD. The following example exports the configuration for all IP addresses assigned to the VM:-->
116
+
Log in to Azure Linux VMs with Azure AD supports exporting the OpenSSH certificate and configuration. That means you can use any SSH clients that support OpenSSH-based certificates to sign in through Azure AD. The following example exports the configuration for all IP addresses assigned to the VM:-->
0 commit comments