VMAccess extension on a Ubuntu VM

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Deploy To Azure Deploy To Azure US Gov Visualize

This template uses the Azure Linux VMAccess extension to deploy an Linux VM. Azure Linux VMAccess extension provides several ways to allow owner of the VM to get the SSH access back.

What you can do using the VMAccess extension:

  1. Add a new user with a password or a public key.
  2. Modify the password or public key of the existing user.
  3. Remove the existing user.
  4. Reset the ssh configuration.

How to deploy

Azure CLI or Powershell is recommended to deploy the template.

  1. Using Azure CLI

https://azure.microsoft.com/documentation/articles/xplat-cli-azure-resource-manager/

  1. Using Powershell

https://azure.microsoft.com/documentation/articles/powershell-azure-resource-manager/

Tags: Microsoft.Storage/storageAccounts, Microsoft.Network/publicIPAddresses, Microsoft.Network/virtualNetworks, Microsoft.Network/networkInterfaces, Microsoft.Compute/virtualMachines, Microsoft.Compute/virtualMachines/extensions, VMAccessForLinux