
close
close
Upcoming FREE Conference on Identity Management and Privileged Access Management
This post will explain how the new process for logging into Windows Server and Linux virtual machines works in the Azure Portal.
The method that we used for logging into Azure virtual machines has remained unchanged since the preview days of the Azure Portal when it was still known as Project Ibiza. Microsoft changed this process recently and this post will explain how you can log into your machines today.
There are some pre-requisites:
To log into an Azure virtual machine via the Azure Portal, open the virtual machine and click on Connect in the Overview blade. A popup blade will appear on the right called Connect To A Virtual Machine. What you do from here will depend on whether your virtual machine has a Windows or a Linux guest operating system (OS).
Logging into a Windows or Linux Virtual Machine in the Azure Portal [Image Credit: Aidan Finn]
If the virtual machine is running Windows, then the popup blade should default to the RDP settings.
The popup blade shows you the TCP address and port (in case you have NAT rules via an Azure load balancer) for logging into the virtual machine’s Windows guest OS. You can use these details to manually configure the Remote Desktop Connection client or to save your settings in a remote desktop connection manager.
Alternatively, you can click the Download RDP File button to download a pre-configured RDP file. If you are connecting via VPN, ExpressRoute, or a static public IP address, then it is a good idea to save this RDP file somewhere. Then, you can open it to log into the virtual machine without using the Azure Portal again. You can edit this file (Notepad or Remote Desktop Connection) to disable/enable features and configure Remote Desktop Settings.
Connecting to a Windows Virtual Machine in the Azure Portal [Image Credit: Aidan Finn]
If the virtual machine is running a Linux guest OS, then the popup blade should default to SSH settings. The information that is shared is:
An additional SSH login command might be shared if you have enabled a preview (for test purposes only at this time) feature that allows authentication via Azure AD, as shown below.
Connecting to a Linux Virtual Machine in the Azure Portal [Image Credit: Aidan Finn]
Create an SSH Connection in PuTTY for an Azure Virtual Machine [Image Credit: Aidan Finn]
Logged into a Linux Virtual Machine in Azure Using PuTTY/SSH [Image Credit: Aidan Finn]
More in Microsoft Azure
Microsoft's Azure OpenAI Service Gets New ChatGPT Integration in Preview
Mar 9, 2023 | Rabia Noureen
Microsoft's New Azure Operator Nexus Solution Now Available in Public Preview
Mar 2, 2023 | Rabia Noureen
Microsoft Introduces Fully-Managed Azure Load Testing Service for Developers
Feb 2, 2023 | Rabia Noureen
Azure Native New Relic Service Provides Full Stack Observability To Boost Digital Transformation
Jan 25, 2023 | Rabia Noureen
Most popular on petri