how to connect to a linux VM which is created on azure portal with private ip (no public ip) using azure pipeline

Pranav Kumar Kazipeta 1 Reputation point
2022-01-20T01:35:50.52+00:00

how to connect to a linux VM which is created on azure portal with private ip (no public ip) using azure pipeline

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
241 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sam Cogan 10,082 Reputation points MVP
    2022-01-20T09:33:59.057+00:00

    You need to setup Azure Bastion in the same virtual network as the VM, you can then use this to SSH into the VM.


  2. VipulSparsh-MSFT 16,231 Reputation points Microsoft Employee
    2022-01-21T07:57:11.577+00:00

    @Pranav Kumar Kazipeta As suggested by Sam, you can use Azure Bastion. However we do not have any sample code to use Bastion to ssh into VM.
    Currently Bastion only allows an interactive session from Azure Portal.

    Azure Bastion is a growing PAAS offering and it is adding features depending on the feedback you provide. Feel free to suggest the feedback with these channels :

    You can upvote a similar Feedback for Bastion here : https://feedback.azure.com/d365community/idea/f9fc5a9d-f225-ec11-b6e6-000d3a4f06a4
    or create a new one with all your details here : https://feedback.azure.com/

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments