Skip to content

Commit 1889aaa

Browse files
committed
Add steps to get ssh command from cli output
1 parent b404b24 commit 1889aaa

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

articles/iot-edge/how-to-install-iot-edge-ubuntuvm.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,18 @@ The [Deploy to Azure Button](../azure-resource-manager/templates/deploy-to-azure
139139
140140
1. Verify that the deployment has completed successfully. A virtual machine resource should have been deployed into the selected resource group. Take note of the machine name, this should be in the format `vm-0000000000000`. Also, take note of the associated **DNS Name**, which should be in the format `<dnsLabelPrefix>`.`<location>`.cloudapp.azure.com.
141141
142-
The **DNS Name** can be obtained from the **Overview** section of the newly deployed virtual machine within the Azure Portal.
142+
The **DNS Name** can be obtained from the JSON-formatted output of the previous step, within the **outputs** section as part of the **public SSH** entry. The value of this entry can be used to SSH into to the newly deployed machine.
143+
144+
```bash
145+
"outputs": {
146+
"public SSH": {
147+
"type": "String",
148+
"value": "ssh <adminUsername>@<DNS_Name>"
149+
}
150+
}
151+
```
152+
153+
The **DNS Name** can also be obtained from the **Overview** section of the newly deployed virtual machine within the Azure Portal.
143154
144155
> [!div class="mx-imgBorder"]
145156
> [![Screenshot showing the dns name of the iotedge vm](./media/how-to-install-iot-edge-ubuntuvm/iotedge-vm-dns-name.png)](./media/how-to-install-iot-edge-ubuntuvm/iotedge-vm-dns-name.png)

0 commit comments

Comments
 (0)