Reader small image

You're reading from  Learn Azure Administration - Second Edition

Product typeBook
Published inDec 2023
PublisherPackt
ISBN-139781837636112
Edition2nd Edition
Right arrow
Author (1)
Kamil Mrzygłód
Kamil Mrzygłód
author image
Kamil Mrzygłód

Kamil Mrzygłód is a technical lead and technology advisor, working with multiple companies on designing and implementing Azure-based systems and platforms. He's a former Microsoft Azure Microsoft Most Valuable Professional (MVP) and certified trainer, who shares his knowledge via various channels, including conference speeches and open source projects and contributions. Kamil lives in Poland with his two cats and one dog, dedicating some of his time to video games, cooking, and traveling.
Read more about Kamil Mrzygłód

Right arrow

Connecting to a VM

Each VM deployment can be used as a host to which you can connect. Depending on your infrastructure setup (availability of a public IP address and network security group (NSG) rules), such a connection is either a simple command in your terminal or a multi-step process including a variety of actions. In this section, we’ll focus on different methods of connecting to a VM, covering differences between operating systems and security measures. Let’s see how we can connect with a machine using SSH, RDP, and DNS name.

Connecting using SSH

A method of connection that works for both Windows and Linux is SSH connection. When connecting to a VM using this protocol, there is one prerequisite – port 22 accepting incoming connections. In the previous chapters (Chapters 3 and 4), we covered the topic of an NSG – a service that controls inbound and outbound access to the resource it’s connected to. From a connection point of view, it doesn...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learn Azure Administration - Second Edition
Published in: Dec 2023Publisher: PacktISBN-13: 9781837636112

Author (1)

author image
Kamil Mrzygłód

Kamil Mrzygłód is a technical lead and technology advisor, working with multiple companies on designing and implementing Azure-based systems and platforms. He's a former Microsoft Azure Microsoft Most Valuable Professional (MVP) and certified trainer, who shares his knowledge via various channels, including conference speeches and open source projects and contributions. Kamil lives in Poland with his two cats and one dog, dedicating some of his time to video games, cooking, and traveling.
Read more about Kamil Mrzygłód