Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 77cb43e

Browse files
committedJul 17, 2020
connect to Windows and Linux VMs
1 parent fb7a9ba commit 77cb43e

File tree

12 files changed

+89
-12
lines changed

12 files changed

+89
-12
lines changed
 

‎articles/devtest-labs/TOC.yml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -127,18 +127,26 @@
127127
href: personal-data-delete-export.md
128128
- name: Use VMs in a lab
129129
items:
130-
- name: Create a VM - Azure portal
131-
href: devtest-lab-add-vm.md
132-
- name: Create a VM - Azure PowerShell
133-
href: devtest-lab-vm-powershell.md
134-
- name: Create a VM - Azure CLI
135-
href: devtest-lab-vmcli.md
136-
- name: Create a VM - Resource Manager template
137-
href: devtest-lab-use-resource-manager-template.md
138-
- name: Create a VM using an image from shared image gallery
139-
href: add-vm-use-shared-image.md
140-
- name: Connect to your VM through a browser
141-
href: connect-virtual-machine-through-browser.md
130+
- name: Create a VM
131+
items:
132+
- name: Azure portal
133+
href: devtest-lab-add-vm.md
134+
- name: Azure PowerShell
135+
href: devtest-lab-vm-powershell.md
136+
- name: Azure CLI
137+
href: devtest-lab-vmcli.md
138+
- name: Resource Manager template
139+
href: devtest-lab-use-resource-manager-template.md
140+
- name: Create a VM using an image from shared image gallery
141+
href: add-vm-use-shared-image.md
142+
- name: Connect to a VM
143+
items:
144+
- name: Connect to a Windows VM
145+
href: connect-windows-virtual-machine.md
146+
- name: Connect to a Linux VM
147+
href: connect-linux-virtual-machine.md
148+
- name: Connect to your VM through a browser
149+
href: connect-virtual-machine-through-browser.md
142150
- name: Start or stop a VM using PowerShell or CLI
143151
href: use-command-line-start-stop-virtual-machines.md
144152
- name: Restart a VM
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
title: Connect to your Linux virtual machines in Azure DevTest Labs
3+
description: Learn how to connect to your Linux virtual machine in a lab (Azure DevTest Labs)
4+
ms.topic: how-to
5+
ms.date: 07/17/2020
6+
---
7+
8+
# Connect to a Linux VM in your lab (Azure DevTest Labs)
9+
This article shows you how to connect to Linux VM in your lab.
10+
11+
## Connect to a Linux VM
12+
1. Sign in to the [Azure portal](https://portal.azure.com).
13+
1. In the search bar, search for and select **DevTest Labs**.
14+
15+
:::image type="content" source="./media/connect-linux-virtual-machine/search-select.png" alt-text="Search for and select DevTest Labs":::
16+
1. From the list of labs, select your **lab**.
17+
18+
:::image type="content" source="./media/connect-linux-virtual-machine/select-lab.png" alt-text="Select your lab":::
19+
1. On the home page for your lab, select your Linux VM from the **My virtual machines** list.
20+
21+
:::image type="content" source="./media/connect-linux-virtual-machine/select-linux-vm.png" alt-text="Select your Linux VM":::
22+
5. On the **Overview** page, you can see the fully qualified domain name (FQDN) or IP address of the VM. You can also see the port as shown in the following image.
23+
24+
:::image type="content" source="./media/connect-linux-virtual-machine/vm-overview.png" alt-text="Fully qualified domain name for the VM":::
25+
26+
Notice that **Connect** button is grayed even though the VM is started. That's by design.
27+
6. Use SSH to connect to your Linux VM. The following example connects to the VM with FQDN `mydtl07172452621450000.eastus.cloudapp.azure.com`, with the username of `vmuser` and port `51637`. Enter the password for the user to connect to the VM.
28+
29+
```bash
30+
ssh vmuser@mydtl07172452621450000.eastus.cloudapp.azure.com -p 51637
31+
```
32+
33+
You can use tools such as [Putty](https://www.putty.org/) or any other SSH client to connect to the VM.
34+
35+
After you connect using SSH, you can install and configure a desktop environment ([xfce](https://www.xfce.org)) and remote desktop ([xrdp](http://xrdp.org)). For detailed information, see [Install and configure Remote Desktop to connect to a Linux VM in Azure](../virtual-machines/linux/use-remote-desktop.md).
36+
37+
## Next Steps
38+
[How to: connect to a Windows VM](connect-windows-virtual-machine.md)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Connect to your Windows virtual machines in Azure DevTest Labs
3+
description: Learn how to connect to your Windows virtual machine in a lab (Azure DevTest Labs)
4+
ms.topic: how-to
5+
ms.date: 07/17/2020
6+
---
7+
8+
# Connect to a Windows VM in your lab (Azure DevTest Labs)
9+
This article shows you how to connect to a Windows VM in your lab.
10+
11+
## Connect to a Windows VM
12+
1. Sign in to the [Azure portal](https://portal.azure.com).
13+
1. In the search bar, search for and select **DevTest Labs**.
14+
15+
:::image type="content" source="./media/connect-windows-virtual-machine/search-select.png" alt-text="Search for and select DevTest Labs":::
16+
1. From the list of labs, select your **lab**.
17+
18+
:::image type="content" source="./media/connect-windows-virtual-machine/select-lab.png" alt-text="Select your lab":::
19+
1. On the home page for your lab, select your Windows VM from the **My virtual machines** list.
20+
21+
:::image type="content" source="./media/connect-windows-virtual-machine/select-windows-vm.png" alt-text="Select your Windows VM":::
22+
1. On the **Virtual machine** page for your VM, select **Connect** on the toolbar. If the VM is stopped, select **Start** first to start the VM.
23+
24+
:::image type="content" source="./media/connect-windows-virtual-machine/select-connect.png" alt-text="Select connect on the toolbar":::
25+
1. If you're using the Edge browser, you see the link to the **downloaded RDP file** at the bottom of the browser.
26+
27+
:::image type="content" source="./media/connect-windows-virtual-machine/rdp-download.png" alt-text="RDP downloaded":::
28+
1. Open the RDP file, and enter your VM credentials that you typed when creating the VM. You should be connected to the Windows VM now.
29+
30+
## Next Steps
31+
[How to: connect to a Linux VM](connect-linux-virtual-machine.md)
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)
Please sign in to comment.