An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
Yep - this is supported. Make sure you follow https://learn.microsoft.com/en-us/azure/bastion/bastion-connect-vm-linux-rdp?tabs=portal
Prerequisites
Before you begin, verify that you meet the following criteria:
- An Azure Bastion host deployed in the virtual network where the virtual machine is located, or in a peered virtual network. To set up a Bastion host, see Create a bastion host. The SKU you need depends on your connection method:
Connection method Minimum SKU Additional configuration Azure portal (browser) Standard None Azure portal (browser) Standard None Azure portal with custom ports Standard None IP-based connection Standard IP-based connection enabled - xrdp required: To use RDP with a Linux VM, you must have xrdp installed and configured on the Linux VM. To learn how to do this, see Use xrdp with Linux.
- Azure Bastion uses RDP port 3389 by default. Custom ports require the Standard SKU or higher. To upgrade, see Upgrade a SKU.
- A Linux virtual machine in the virtual network (or reachable from the virtual network for IP-based connections).
- Required roles:
- Reader role on the virtual machine.
- Reader role on the NIC with the private IP of the virtual machine.
- Reader role on the Azure Bastion resource.
- Reader role on the virtual network of the target virtual machine (if the Bastion deployment is in a peered virtual network).
- Ports: You must have the following ports open on your VM:
- Inbound port: RDP (3389) or
- Inbound port: Custom value (you then need to specify this custom port when you connect to the VM via Azure Bastion).
If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.
hth
Marcin