az sshkey
all
Manage SSH public keys with virtual machines. Part of `azure-cli` (also known as `az`).
More info →Options (1)
-g, --resource-groupbooleanCreate a new SSH key
Example:
az sshkey create --name {{name}} {{[-g|--resource-group]}} {{resource_group}}Examples (4)
Create a new SSH key
az sshkey create --name name [-g|--resource-group] resource_groupUpload an existing SSH key
az sshkey create --name name [-g|--resource-group] resource_group --public-key "@path/to/key.pub"List all SSH public keys
az sshkey listShow information about an SSH public key
az sshkey show --name name [-g|--resource-group] resource_groupmade by @shridhargupta | data from tldr-pages