Skip to content

Files

Latest commit

93f0cdd · Mar 18, 2022

History

History
40 lines (29 loc) · 2.26 KB

connect-linux-virtual-machine.md

File metadata and controls

40 lines (29 loc) · 2.26 KB
title description ms.topic ms.author author ms.date
Connect to your Linux virtual machines
Learn how to connect to your Linux virtual machine in a lab (Azure DevTest Labs)
how-to
rosemalcolm
RoseHJM
07/17/2020

Connect to a Linux VM in your lab (Azure DevTest Labs)

This article shows you how to connect to Linux VM in your lab.

Connect to a Linux VM

  1. Sign in to the Azure portal.

  2. In the search bar, search for and select DevTest Labs.

    :::image type="content" source="./media/connect-linux-virtual-machine/search-select.png" alt-text="Search for and select DevTest Labs":::

  3. From the list of labs, select your lab.

    :::image type="content" source="./media/connect-linux-virtual-machine/select-lab.png" alt-text="Select your lab":::

  4. On the home page for your lab, select your Linux VM from the My virtual machines list.

    :::image type="content" source="./media/connect-linux-virtual-machine/select-linux-vm.png" alt-text="Select your Linux VM":::

  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.

    :::image type="content" source="./media/connect-linux-virtual-machine/vm-overview.png" alt-text="Fully qualified domain name for the VM":::

    Notice that Connect button is grayed even though the VM is started. That's by design.

  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.

    ssh vmuser@mydtl07172452621450000.eastus.cloudapp.azure.com -p 51637

    You can use tools such as Putty or any other SSH client to connect to the VM.

    After you connect using SSH, you can install and configure a desktop environment (xfce) and remote desktop (xrdp). For detailed information, see Install and configure Remote Desktop to connect to a Linux VM in Azure.

Next Steps

How to: connect to a Windows VM