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.

    Search for and select DevTest Labs

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

    Select your lab

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

    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.

    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, with the username of vmuser and port 51637. Enter the password for the user to connect to the VM.

    ssh -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