How to connect to Azure VM from the command line

0 votes

Hi Team,

I am new to the Azure cloud. I have created one Virtual Machine in Azure. Now I want to connect to the VM from the command line. How can I do that?

Nov 11, 2020 in Azure by akhtar
• 38,180 points
271 views

1 answer to this question.

0 votes

Hi@akhtar,

You can connect to your Azure VM mainly in two ways. One from the cloud shell itself. It is available to the Azure portal. And another way is Putty or command line. The following command can be used in the command line to connect the Azure VM.

$ ssh -i <private key path> azureuser@<Public IP>
answered Nov 11, 2020 by MD
• 95,140 points

Related Questions In Azure

0 votes
2 answers

How can I download a .vhd image to my local machine from azure and upload the same to a different azure account?

From the Windows Azure Portal you can ...READ MORE

answered Aug 20, 2018 in Azure by Priyaj
• 58,100 points
10,187 views
0 votes
1 answer
+1 vote
4 answers

How do Connect to Azure website via FTP?

First set up your FTP credentials are ...READ MORE

answered Oct 23, 2018 in Azure by abc
1,529 views
0 votes
1 answer

How to determine the number of messages in an Azure Services Bus Queue?

You will get error when you try ...READ MORE

answered Jun 12, 2018 in Azure by null_void
• 3,220 points
2,274 views
0 votes
1 answer

How to connect to Azure windows VM?

You'll use the Connect button in the Azure portal ...READ MORE

answered Jan 20, 2020 in Azure by Sirajul
• 59,050 points
10,302 views
0 votes
1 answer

What are azure functions? What is their use?

Azure Functions is a serverless computing service hosted ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 59,050 points
743 views
0 votes
1 answer
0 votes
1 answer

How to copy files from the Windows system to Azure VM?

Hi@akhtar, You can use WinSCP software to transfer ...READ MORE

answered Nov 11, 2020 in Azure by MD
• 95,140 points
611 views
0 votes
1 answer

How to delete a deployment from the deployment history in Azure?

Hi@akhtar, A template deployment that is currently running ...READ MORE

answered Nov 15, 2020 in Azure by MD
• 95,140 points
158 views