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,230 points
3,985 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>


Hope it helps!

If you want to become Azure solution architect, then join Azure online course today.

Thank you!!

answered Nov 11, 2020 by MD
• 95,440 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,090 points
13,685 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
3,815 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
4,171 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 21, 2020 in Azure by Sirajul
• 59,230 points
25,193 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,230 points

edited Jun 27, 2023 by Khan Sarfaraz 1,726 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,440 points
3,631 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 16, 2020 in Azure by MD
• 95,440 points
1,516 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP