Azure / Azure/azure-cli

Add '--ip' to the list of possible parameters for the 'az ssh vm' CLI command

Open
#21,456 1 comment 0 reactions 0 assignees View on GitHub
act-observability-squad Service Attention SSH VM SSH
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

Very small issue, but can '--ip' be added to the list of possible parameters for the 'az ssh vm' CLI command in this doc.
The parameters --name or --ip are listed as mutually exclusive parameters for this command in the 'Optional Parameters' section, but the initial command syntax example (see attached screen shot) doesn't reflect this.

``
az ssh vm [--certificate-file]
[--hostname] [**_--ip_**]
[--local-user]
[--name]
[--port]
[--prefer-private-ip]
[--private-key-file]
[--public-key-file]
[--resource-group]
[]
```

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 29a90500-fe23-5ae5-caad-9b897ed5ac6c
* Version Independent ID: 588d5bec-fcbe-75f9-5206-616746e61d5f
* Content: [az ssh](https://docs.microsoft.com/en-us/cli/azure/ssh?view=azure-cli-latest#az-ssh-vm)
* Content Source: [latest/docs-ref-autogen/ssh.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/ssh.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw*
Screenshot 2022-02-28 130819
*

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.