First, you want to log on to your azure portal @portal.azure.com
Clicking on the first result opens up the Virtual Machines page, where we can create and manage our VMs.
Next, (1) Click create, then (2) Azure VM
Scrolling down,
Select the size of the VM based on computing demands.
The authentication type is set to SSH public key.
The username for the Administrator account is set.
select Generate a new key pair
Name the key pair.
Then click review and create.
A pop-up would appear, click “download the private key and create the resource.”
Go to your downloads folder to see the downloaded private key.
On a windows device, proceed to opening the VM via powershell or command prompt using ssh -i filepath administratorusername@IPaddress.
On a mac device, you need to set a read-only permission for the file for it to be accessible and avoid errors whilst trying to access it via terminal.
To do this, first copy the file path name, (right click on the file name and hold option, the option would then appear)
Then proceed to connect to the VM using the Linux key using ssh -i filepath administratorusername@IPaddress.
The VM would then open.
Cheers!
SOCIAL SHARE CARD GENERATOR